1 |
commit: f4baf92b9ddf66119e94bc8945b10e3e935e92ad |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 3 02:45:58 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 3 02:45:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=f4baf92b |
7 |
|
8 |
tools-systemd: fix calculation of repo_dir |
9 |
|
10 |
tools-systemd/run.sh | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/tools-systemd/run.sh b/tools-systemd/run.sh |
14 |
index 170742e3..29869284 100755 |
15 |
--- a/tools-systemd/run.sh |
16 |
+++ b/tools-systemd/run.sh |
17 |
@@ -13,7 +13,7 @@ prepare_confs() { |
18 |
local p=$(( s - 1 )) |
19 |
[[ $p == 0 ]] && p=3 |
20 |
local pstage=stage${p} |
21 |
- local repo_dir="$( cd "$( dirname ${BASH_SOURCE[0]} )../" && pwd )" |
22 |
+ local repo_dir="$( dirname $(pwd) )" |
23 |
local template="stage-all.conf.template" |
24 |
# set the template file if stage4 |
25 |
[[ $s == 4 ]] && template=stage4-amd64.spec |