[PATCH] Change the sed seperator in t/t6000-lib.sh.
[git.git] / t / t6000-lib.sh
index aa7a98a..377e8eb 100644 (file)
@@ -28,7 +28,9 @@ save_tag()
        [ -n "$_tag" ] || error "usage: save_tag tag commit-args ..."
        shift 1
        "$@" >.git/refs/tags/$_tag
-       sed_script="s/$(tag $_tag)/$_tag/g${sed_script+;}$sed_script"
+
+       sed_script="s/$(tag $_tag)/$_tag/g
+$sed_script"
 }
 
 # Replace unhelpful sha1 hashses with their symbolic equivalents