Fix WDEFAULT_ARGS

This commit is contained in:
Tomasz Jagusz 2019-09-17 09:00:42 +02:00 committed by GitHub
parent e60ff92ee6
commit 24ffd9c7f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ echo "Uploading files..."
WDEFAULT_LOCAL_DIR=${LOCAL_DIR:-"."}
WDEFAULT_REMOTE_DIR=${REMOTE_DIR:-"."}
WDEFAULT_ARGS=${REMOTE_DIR:-""}
WDEFAULT_ARGS=${ARGS:-""}
lftp $FTP_SERVER -u $FTP_USERNAME,$FTP_PASSWORD -e "set ftp:ssl-allow no; mirror $WDEFAULT_ARGS -R $WDEFAULT_LOCAL_DIR $WDEFAULT_REMOTE_DIR; quit"