mirror of
https://github.com/ViViDboarder/drone-webdav.git
synced 2024-06-02 15:32:24 +00:00
support for multiple arguments
This commit is contained in:
parent
05523f4e75
commit
abd29efe4e
2
push.sh
2
push.sh
|
@ -30,7 +30,7 @@ fi
|
|||
|
||||
# Additional arguments to be passed to curl.
|
||||
if [ -n "$PLUGIN_CUSTOM_ARGUMENTS" ]; then
|
||||
ARGS+=("${PLUGIN_CUSTOM_ARGUMENTS}")
|
||||
while read arg; do ARGS+=("$arg"); done <<(echo ${PLUGIN_CUSTOM_ARGUMENTS} | tr ' ' '\n' )
|
||||
fi
|
||||
|
||||
# Set PLUGIN_ATTEMPTS to one if nothing else is specified
|
||||
|
|
Loading…
Reference in New Issue
Block a user