i think fixing this may help with build issues elswhere
This commit is contained in:
4
push.sh
4
push.sh
@ -39,7 +39,7 @@ fi
|
|||||||
#fi
|
#fi
|
||||||
|
|
||||||
if [ -n "$PLUGIN_MAKE_FOLDER_AT" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Repeat the upload as long as specified.
|
# Repeat the upload as long as specified.
|
||||||
@ -48,7 +48,7 @@ while [ "${PLUGIN_ATTEMPTS}" -gt 0 ]; do
|
|||||||
# Uploading the file
|
# Uploading the file
|
||||||
for file in $(eval find "$PLUGIN_FILE_GLOB")
|
for file in $(eval find "$PLUGIN_FILE_GLOB")
|
||||||
do
|
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
|
done
|
||||||
|
|
||||||
# Show messages in case uploads have failed
|
# Show messages in case uploads have failed
|
||||||
|
Reference in New Issue
Block a user