commit:     2f9c42444f3207054c3a3abfd3f9e0f368d3ffae
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 00:30:43 2017 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 00:34:31 2017 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2f9c4244

testpath: Change to PWD instead of BASH_SOURCE

BASHSOURCE is no longer working...

 testpath | 4 ++--
 1 file 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}"

Reply via email to