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
|
||||||
|
|||||||
Reference in New Issue
Block a user