[[[
Bugfix for handling variables with spaces in filenames

* contrib/client-side/asvn
  (main): uses "$@" instead of $@

patch by joerg.steffens < at > dass-it.de
]]]
Index: contrib/client-side/asvn
===================================================================
--- contrib/client-side/asvn    (Revision 941370)
+++ contrib/client-side/asvn    (Arbeitskopie)
@@ -384,16 +412,17 @@
 case "$1" in
   checkout|co)      CHDIR=true; ACTION="post";;
   commit|ci)        ACTION="pre";;
+  status|st)        ACTION="pre";;
   switch|sw)        ACTION="post";;
   update|up)        ACTION="post";;
   *);;
 esac
 
-[ "$ACTION" =  "pre" ] && pre_checkin $@
+[ "$ACTION" =  "pre" ] && pre_checkin "$@"
 
-$SVN $@
+$SVN "$@"
 
-[ $? = 0 -a "$ACTION" = "post" ] && post_checkout $@
+[ $? = 0 -a "$ACTION" = "post" ] && post_checkout "$@"
 
 cleanup
 #

Reply via email to