[Bash-completion-commits] [SCM] bash-completion branch, master, updated. f9f49786ca0f37fd89e794ebdc0f3c6c52ef09a5
Ville Skyttä
ville.skytta at iki.fi
Wed Apr 21 20:21:00 UTC 2010
The following commit has been merged in the master branch:
commit a7cd88bb67723767a780995cd74e25b0a189e64c
Author: Ville Skyttä <ville.skytta at iki.fi>
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
More information about the Bash-completion-commits
mailing list