Script update so that it does not override usefull env vars
This commit is contained in:
parent
f388124762
commit
8ae5c2d9d6
@ -220,11 +220,11 @@ then
|
|||||||
# File password
|
# File password
|
||||||
[ ! $FILEPASSWORD = "$UNSET" ] && ARGS+=("-F" "filepwd=$FILEPASSWORD")
|
[ ! $FILEPASSWORD = "$UNSET" ] && ARGS+=("-F" "filepwd=$FILEPASSWORD")
|
||||||
# Add files
|
# Add files
|
||||||
for PATH in "${FILES[@]}"
|
for FPATH in "${FILES[@]}"
|
||||||
do
|
do
|
||||||
FULLURL="$URL"
|
FULLURL="$URL"
|
||||||
[ ! "$GETPATH" = "$UNSET" ] && FULLURL+="$GETPATH"
|
[ ! "$GETPATH" = "$UNSET" ] && FULLURL+="$GETPATH"
|
||||||
FULLURL+="/$USERNAME/$FILES"
|
FULLURL+="/$USERNAME/$FPATH"
|
||||||
ARGS+=("$FULLURL")
|
ARGS+=("$FULLURL")
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user