summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-01-16 15:54:28 +0200
committerVille Skyttä <ville.skytta@iki.fi>2010-01-16 15:54:28 +0200
commitf0c717b2be2373e8929975c9bbd3946df53ec041 (patch)
treef555e7687dc18b2564eb2e7b9cc73a49f89cf84c
parentea0ee6a46b1aa7fcd847dfe3a3c277e603d047c6 (diff)
downloadbash-completion-f0c717b2be2373e8929975c9bbd3946df53ec041.tar.gz
(testsuite) cd to correct top level dir first in runLint.
-rwxr-xr-xtest/runLint3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/runLint b/test/runLint
index d7ab7656..9a64326f 100755
--- a/test/runLint
+++ b/test/runLint
@@ -11,6 +11,9 @@ gitgrep()
fi
}
+unset CDPATH
+cd $(dirname "$0") ; cd ..
+
gitgrep "\bawk\b.*-F([[:space:]]|[[:space:]]*[\"'][^\"']{2,})" \
'awk with -F char or -F ERE, use -Fchar instead (Solaris)'