Commit 84c70221 authored by Stefano Capitani's avatar Stefano Capitani

This commit solve the issue during buildpkg: set the right working tree path

Signed-off-by: Stefano Capitani's avatarSte74 <stefano@manjaro.org>
parent 4f94991a
......@@ -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=''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment