From 796f77ef22ec484b4814af92223b6fc0e108c132 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Sun, 12 Sep 2010 16:44:39 +0200 Subject: [PATCH] rename 'contrib' directory to 'completions' --- test/lib/library.exp | 2 +- test/runLint | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib/library.exp b/test/lib/library.exp index a79ec526..eaafcbc4 100644 --- a/test/lib/library.exp +++ b/test/lib/library.exp @@ -698,7 +698,7 @@ proc _save_env {{file ""}} { # Source bash_completion package proc source_bash_completion {} { - assert_bash_exec {BASH_COMPLETION_DIR=$(cd "$TESTDIR/.."; pwd)/contrib} + assert_bash_exec {BASH_COMPLETION_DIR=$(cd "$TESTDIR/.."; pwd)/completions} assert_bash_exec {BASH_COMPLETION_COMPAT_DIR=$BASH_COMPLETION_DIR} assert_bash_exec {BASH_COMPLETION=$(cd "$TESTDIR/.."; pwd)/bash_completion} assert_bash_exec {source "$BASH_COMPLETION"} diff --git a/test/runLint b/test/runLint index b2bf005c..88c717a2 100755 --- a/test/runLint +++ b/test/runLint @@ -3,7 +3,7 @@ gitgrep() { local out=$(git grep -I -E -n "$1" | \ - grep -E '^(bash_completion|contrib/|test/)' | \ + grep -E '^(bash_completion|completions/|test/)' | \ grep -Fv 'test/runLint') if [ -n "$out" ] ; then printf '***** %s\n' "$2"