The following commit has been merged in the master branch:
commit 1126c831b826ccb409f62d02b00dc6d3791eb614
Author: Ville Skyttä <[email protected]>
Date:   Tue May 3 09:33:18 2011 +0300

    testsuite: Don't define $BASH_COMPLETION here either.

diff --git a/test/lib/library.exp b/test/lib/library.exp
index ab2d92b..43271f5 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -859,8 +859,7 @@ proc _save_env {{file ""}} {
 # Source bash_completion package
 proc source_bash_completion {} {
     assert_bash_exec {BASH_COMPLETION_COMPAT_DIR=$(cd "$SRCDIR/.."; 
pwd)/completions}
-    assert_bash_exec {BASH_COMPLETION=$(cd "$SRCDIR/.."; pwd)/bash_completion}
-    assert_bash_exec {source "$BASH_COMPLETION"}
+    assert_bash_exec {source $(cd "$SRCDIR/.."; pwd)/bash_completion}
 }
 
 

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to