1 |
commit: 2f9c42444f3207054c3a3abfd3f9e0f368d3ffae |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 29 00:30:43 2017 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 29 00:34:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2f9c4244 |
7 |
|
8 |
testpath: Change to PWD instead of BASH_SOURCE |
9 |
|
10 |
BASHSOURCE is no longer working... |
11 |
|
12 |
testpath | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/testpath b/testpath |
16 |
index f4721a4b..4c18df10 100644 |
17 |
--- a/testpath |
18 |
+++ b/testpath |
19 |
@@ -14,5 +14,5 @@ |
20 |
# |
21 |
# catalyst -c catalyst.conf -p -f stage1.spec |
22 |
|
23 |
-export PATH="$(dirname ${BASH_SOURCE[0]})/bin:${PATH}" |
24 |
-export PYTHONPATH="$(dirname $0)/../pyDeComp/:$(dirname ${BASH_SOURCE[0]})${PYTHONPATH:+:}${PYTHONPATH}" |
25 |
+export PATH="$(dirname ${PWD})/bin:${PATH}" |
26 |
+export PYTHONPATH="$(dirname ${PWD})/../pyDeComp/:$(dirname ${PWD})${PYTHONPATH:+:}${PYTHONPATH}" |