forked from mirrored-repos/manjaro-tools
This commit solve the issue during buildpkg: set the right working tree path
Signed-off-by: Ste74 <stefano@manjaro.org>
This commit is contained in:
parent
4f94991a17
commit
84c70221ce
1 changed files with 2 additions and 2 deletions
|
@ -320,13 +320,13 @@ init_buildiso(){
|
|||
load_run_dir "${profile_repo}"
|
||||
|
||||
if [[ -d ${run_dir}/.git ]]; then
|
||||
current_path=$(pwd)
|
||||
cd ${run_dir}
|
||||
branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
cd ${current_path}
|
||||
else
|
||||
[[ -z ${branch} ]] && branch="v17.1" #current branch release
|
||||
fi
|
||||
|
||||
[[ -z ${branch} ]] && branch="v17.1" #current branch release
|
||||
|
||||
[[ -z ${gpgkey} ]] && gpgkey=''
|
||||
|
||||
|
|
Loading…
Reference in a new issue