Merge pull request #258 from oberon2007/util-publish

correction remote project path
This commit is contained in:
udeved 2017-02-14 08:48:20 +01:00 committed by GitHub
commit 37ddbf2933

View file

@ -30,7 +30,7 @@ create_release(){
} }
get_edition(){ 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}" [[ -z $result ]] && die "%s is not a valid profile or build list!" "${profile}"
path=${result%/*} path=${result%/*}
echo ${path##*/} echo ${path##*/}
@ -38,7 +38,7 @@ get_edition(){
connect(){ connect(){
local home="/home/frs/project" local home="/home/frs/project"
echo "${account},${project}@frs.${host}:${home}/${profile}" echo "${account},${project}@frs.${host}:${home}/${project}"
} }
gen_webseed(){ gen_webseed(){