The following commit has been merged in the master branch:
commit a7cd88bb67723767a780995cd74e25b0a189e64c
Author: Ville Skyttä <[email protected]>
Date: Wed Apr 21 23:05:13 2010 +0300
Invoke "run" with the same bash as runCompletion and runUnit are run with.
Makes things a bit easier on systems that don't have bash installed in /bin.
diff --git a/test/runCompletion b/test/runCompletion
index 10abc7d..01af7e6 100755
--- a/test/runCompletion
+++ b/test/runCompletion
@@ -4,4 +4,4 @@
# isn't initialized at that point (i.e. output of `expect' is shown on
# stdout - `open_logs' hasn't run yet?). And running code from a library
# file isn't probably a good idea either.
-"${BASH_SOURCE[0]%/*}/run" --tool completion $*
+"$BASH" "${BASH_SOURCE[0]%/*}/run" --tool completion $*
diff --git a/test/runUnit b/test/runUnit
index d22a20d..597342d 100755
--- a/test/runUnit
+++ b/test/runUnit
@@ -4,4 +4,4 @@
# isn't initialized at that point (i.e. output of `expect' is shown on
# stdout - `open_logs' hasn't run yet?). And running code from a library
# file isn't probably a good idea either.
-"${BASH_SOURCE[0]%/*}/run" --tool unit $*
+"$BASH" "${BASH_SOURCE[0]%/*}/run" --tool unit $*
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits