[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 836adbbb2d0147029edf9062e72d8152cfda577b
Ville Skyttä
ville.skytta at iki.fi
Sun Jan 24 20:13:03 UTC 2010
The following commit has been merged in the master branch:
commit 836adbbb2d0147029edf9062e72d8152cfda577b
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Jan 24 22:11:52 2010 +0200
Use == instead of =~ for simple suffix matching.
diff --git a/contrib/strace b/contrib/strace
index 0df5997..4011303 100644
--- a/contrib/strace
+++ b/contrib/strace
@@ -43,7 +43,7 @@ _strace()
/usr/include/asm/unistd.h | sed -e \
's/__NR_//')
if [ -z "$syscalls" ]; then
- if [[ "$arch" =~ 86$ ]]; then
+ if [[ "$arch" == *86 ]]; then
unistd=/usr/include/asm/unistd_32.h
else
unistd=/usr/include/asm/unistd_64.h
--
bash-completion
More information about the Bash-completion-commits
mailing list