Update buildCaseStatement.sh

This commit is contained in:
Søren Theilgaard
2021-08-25 13:16:57 +02:00
parent a481b17a78
commit 1d634b9a80

View File

@@ -12,7 +12,7 @@ downloadURL=${1?:"need to provide a download URL"}
# create temporary working directory
tmpDir=$(dirname $0 )
tmpDir=$(mktemp -d )
# change directory to temporary working directory
echo "Changing directory to $tmpDir"
@@ -122,6 +122,9 @@ elif [ "$archiveExt" = "zip" ] || [ "$archiveExt" = "tbz" ]; then
fi
echo
echo "**********"
echo
echo "Labels should be named in small caps, numbers 0-9, “-”, and “_”. No other characters allowed."
echo
echo "appNewVersion is often difficult to find. Can sometimes be found in the filename, but also on a web page. See archivePath above if link contains information about this."
@@ -140,6 +143,9 @@ echo " appName=\"$appName\""
fi
echo " ;;"
echo
echo "Above should be saved in a file with exact same name as label, and given extension “.sh”."
echo "Put this file in folder “fragments/labels”."
echo
if [ -e "${tmpDir}" ]; then
#echo "deleting tmp dir"