aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-12-28 16:30:43 -0800
committerBrian Dolbec <dolsen@gentoo.org>2017-12-28 16:34:31 -0800
commit2f9c42444f3207054c3a3abfd3f9e0f368d3ffae (patch)
tree1060eed76f019185b3e9f325965ff60cb9c803df /testpath
parentfileops.py: Add extra debug logging... (diff)
downloadcatalyst-2f9c42444f3207054c3a3abfd3f9e0f368d3ffae.tar.gz
catalyst-2f9c42444f3207054c3a3abfd3f9e0f368d3ffae.tar.bz2
catalyst-2f9c42444f3207054c3a3abfd3f9e0f368d3ffae.zip
testpath: Change to PWD instead of BASH_SOURCE
BASHSOURCE is no longer working...
Diffstat (limited to 'testpath')
-rw-r--r--testpath4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpath b/testpath
index f4721a4b..4c18df10 100644
--- a/testpath
+++ b/testpath
@@ -14,5 +14,5 @@
#
# catalyst -c catalyst.conf -p -f stage1.spec
-export PATH="$(dirname ${BASH_SOURCE[0]})/bin:${PATH}"
-export PYTHONPATH="$(dirname $0)/../pyDeComp/:$(dirname ${BASH_SOURCE[0]})${PYTHONPATH:+:}${PYTHONPATH}"
+export PATH="$(dirname ${PWD})/bin:${PATH}"
+export PYTHONPATH="$(dirname ${PWD})/../pyDeComp/:$(dirname ${PWD})${PYTHONPATH:+:}${PYTHONPATH}"