Stupid arguments ordering.
This commit is contained in:
@@ -66,7 +66,7 @@ EOT`
|
|||||||
/usr/bin/osascript << EOT
|
/usr/bin/osascript << EOT
|
||||||
tell application "Terminal"
|
tell application "Terminal"
|
||||||
activate
|
activate
|
||||||
do script "cd \"${SUPPORT_PATH}\"; curl -L --create-dirs -o \"./Downloads/${1}\" \"${5}\"; unzip -o \"Downloads/${1}\" -d \"${2}\"; touch done; exit;"
|
do script "cd \"${SUPPORT_PATH}\"; curl --create-dirs -L -o \"./Downloads/${1}\" \"${5}\"; unzip -o \"Downloads/${1}\" -d \"${2}\"; touch done; exit;"
|
||||||
end tell
|
end tell
|
||||||
EOT
|
EOT
|
||||||
# Hack around osascript returning before the download finishes
|
# Hack around osascript returning before the download finishes
|
||||||
@@ -74,4 +74,4 @@ EOT
|
|||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
rm "done"
|
rm "done"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user