From f4baf92b9ddf66119e94bc8945b10e3e935e92ad Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 2 Mar 2018 21:45:58 -0500 Subject: [PATCH] tools-systemd: fix calculation of repo_dir --- tools-systemd/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools-systemd/run.sh b/tools-systemd/run.sh index 170742e3..29869284 100755 --- a/tools-systemd/run.sh +++ b/tools-systemd/run.sh @@ -13,7 +13,7 @@ prepare_confs() { local p=$(( s - 1 )) [[ $p == 0 ]] && p=3 local pstage=stage${p} - local repo_dir="$( cd "$( dirname ${BASH_SOURCE[0]} )../" && pwd )" + local repo_dir="$( dirname $(pwd) )" local template="stage-all.conf.template" # set the template file if stage4 [[ $s == 4 ]] && template=stage4-amd64.spec