Stupid arguments ordering.

This commit is contained in:
Matthew
2010-09-05 00:27:28 +12:00
parent 8a3868abd0
commit d6449c2902

View File

@@ -66,7 +66,7 @@ EOT`
/usr/bin/osascript << EOT
tell application "Terminal"
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
EOT
# Hack around osascript returning before the download finishes
@@ -74,4 +74,4 @@ EOT
sleep 1
done
rm "done"
fi
fi