Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: typo in _gcc



I just caught this after cvs updating to -dev-4 and zrecompiling.
I'll commit it once I get the X-Seq number.

Index: Completion/Unix/Command/_gcc
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_gcc,v
retrieving revision 1.3
diff -u -r1.3 _gcc
--- Completion/Unix/Command/_gcc	4 Mar 2002 08:53:43 -0000	1.3
+++ Completion/Unix/Command/_gcc	6 Mar 2002 14:10:10 -0000
@@ -7,7 +7,7 @@
   compset -q
   words=( fake "$words[@]" )
   (( CURRENT++ ))
-  if ("$service" = LDFLAGS ]]; then
+  if [[ "$service" = LDFLAGS ]]; then
     args2=( '-R:runtime path:->rundir' )
   else
     args2=()



Messages sorted by: Reverse Date, Date, Thread, Author