summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/tests/tagupl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tests/tagupl b/tests/tests/tagupl
index 9d3e45a..c70583e 100755
--- a/tests/tests/tagupl
+++ b/tests/tests/tagupl
@@ -103,8 +103,9 @@ expect-email () {
}
raw-mangled () {
- git update-ref refs/tags/$tagname \
- $(git hash-object -w -t tag ../tagobj-$ident)
+ local tagobj
+ tagobj=$(git hash-object -w -t tag ../tagobj-$ident)
+ git update-ref refs/tags/$tagname "$tagobj"
t-tagupl-run-drs $tmp/$p
}