From d8683fe06204638e51cedcc7fcfc086dc6e2a2fa Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Tue, 14 Feb 2017 01:01:56 +0100 Subject: [PATCH] correction remote project path --- lib/util-publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util-publish.sh b/lib/util-publish.sh index 70597a6..9b3ef16 100644 --- a/lib/util-publish.sh +++ b/lib/util-publish.sh @@ -30,7 +30,7 @@ create_release(){ } get_edition(){ - local result=$(find ${run_dir} -maxdepth 3 -name "${profile}") path + local result=$(find ${run_dir} -maxdepth 2 -name "${profile}") path [[ -z $result ]] && die "%s is not a valid profile or build list!" "${profile}" path=${result%/*} echo ${path##*/} @@ -38,7 +38,7 @@ get_edition(){ connect(){ local home="/home/frs/project" - echo "${account},${project}@frs.${host}:${home}/${profile}" + echo "${account},${project}@frs.${host}:${home}/${project}" } gen_webseed(){