mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
now downloads interim files to working directory
This commit is contained in:
@@ -8,7 +8,7 @@ downloadURL=${1?:"need to provide a download URL"}
|
||||
|
||||
|
||||
# create temporary working directory
|
||||
tmpDir=$(mktemp -d )
|
||||
tmpDir=$(dirname $0 )
|
||||
|
||||
# change directory to temporary working directory
|
||||
echo "Changing directory to $tmpDir"
|
||||
@@ -82,9 +82,9 @@ fi
|
||||
echo " ;;"
|
||||
echo
|
||||
|
||||
if [ -e "${tmpDir}" ]; then
|
||||
#echo "deleting tmp dir"
|
||||
rm -rf "${tmpDir}"
|
||||
fi
|
||||
#if [ -e "${tmpDir}" ]; then
|
||||
# #echo "deleting tmp dir"
|
||||
# rm -rf "${tmpDir}"
|
||||
#fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user