From 423c5afd8798bc7b874e47757a91d88e0329314f Mon Sep 17 00:00:00 2001 From: JKetelaar Date: Thu, 10 Mar 2016 02:04:27 +0100 Subject: [PATCH] [BUGFIX] Fixed an issue with the path location --- .travis/artifact-upload.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/artifact-upload.sh b/.travis/artifact-upload.sh index eee892b..cd9b5ae 100644 --- a/.travis/artifact-upload.sh +++ b/.travis/artifact-upload.sh @@ -1,7 +1,7 @@ #! /bin/bash -local_file="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1)" -local_path="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1 | xargs -n 1 basename)" +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' echo "Uploading $local_file to $target_url"