From 72b1fcdc78da4d19ba9704b214abdd4a8395c25e Mon Sep 17 00:00:00 2001 From: JKetelaar Date: Thu, 10 Mar 2016 02:08:08 +0100 Subject: [PATCH] [BUGFIX] Fixed an issue with the path location --- .travis/artifact-upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/artifact-upload.sh b/.travis/artifact-upload.sh index cd9b5ae..c06d395 100644 --- a/.travis/artifact-upload.sh +++ b/.travis/artifact-upload.sh @@ -2,7 +2,7 @@ local_file="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1 | xargs -n 1 basename)" local_path="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1)" -target_url='ftp://$FTP_HOST/$local_file' +target_url="ftp://$FTP_HOST/$local_file" echo "Uploading $local_file to $target_url" curl -u $FTP_USERNAME:$FTP_PASSWORD -T "$local_path" "$target_url" \ No newline at end of file