replace: add test for --graft
[gitweb.git] / git-pull.sh
index 7358fac86433b61a35ad332d680ba9b4a9d300b2..18a394fcc4e704621c8b5e8bc92b7cbee2fd21fe 100755 (executable)
@@ -106,7 +106,7 @@ do
        -s|--s|--st|--str|--stra|--strat|--strate|--strateg|--strategy)
                case "$#,$1" in
                *,*=*)
-                       strategy=`expr "z$1" : 'z-[^=]*=\(.*\)'` ;;
+                       strategy=$(expr "z$1" : 'z-[^=]*=\(.*\)') ;;
                1,*)
                        usage ;;
                *)