diff --git a/push.sh b/push.sh index dc400c7..5876d5b 100644 --- a/push.sh +++ b/push.sh @@ -39,7 +39,7 @@ fi #fi if [ -n "$PLUGIN_MAKE_FOLDER_AT" ]; then - curl --silent ${ARGS[@]} -X MKCOL "$PLUGIN_MAKE_FOLDER_AT" + curl --silent "${ARGS[@]}" -X MKCOL "$PLUGIN_MAKE_FOLDER_AT" fi # Repeat the upload as long as specified. @@ -48,7 +48,7 @@ while [ "${PLUGIN_ATTEMPTS}" -gt 0 ]; do # Uploading the file for file in $(eval find "$PLUGIN_FILE_GLOB") do - curl --fail-with-body --show-error --silent ${ARGS[@]} --upload-file "$file" "$PLUGIN_DESTINATION" + curl --fail-with-body --show-error --silent "${ARGS[@]}" --upload-file "$file" "$PLUGIN_DESTINATION" done # Show messages in case uploads have failed