From 8ae5c2d9d6f24735ddc5d0e3ec63901b4742ae17 Mon Sep 17 00:00:00 2001 From: Leo VIALLON-GALINIER Date: Thu, 5 Nov 2020 15:39:38 +0100 Subject: [PATCH] Script update so that it does not override usefull env vars --- scripts/up | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/up b/scripts/up index 632a26a..36a2dc8 100755 --- a/scripts/up +++ b/scripts/up @@ -220,11 +220,11 @@ then # File password [ ! $FILEPASSWORD = "$UNSET" ] && ARGS+=("-F" "filepwd=$FILEPASSWORD") # Add files - for PATH in "${FILES[@]}" + for FPATH in "${FILES[@]}" do FULLURL="$URL" [ ! "$GETPATH" = "$UNSET" ] && FULLURL+="$GETPATH" - FULLURL+="/$USERNAME/$FILES" + FULLURL+="/$USERNAME/$FPATH" ARGS+=("$FULLURL") done else