[BUGFIX] Fixed an issue with the path location

This commit is contained in:
JKetelaar
2016-03-10 02:08:08 +01:00
parent 423c5afd87
commit 72b1fcdc78
+1 -1
View File
@@ -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"