nix-prefetch-darcs: fix tag JSON output error
This commit is contained in:
@@ -164,7 +164,7 @@ cat <<EOF
|
|||||||
"repository": $(json_escape "$repository"),
|
"repository": $(json_escape "$repository"),
|
||||||
EOF
|
EOF
|
||||||
if [ -n "$tag" ]; then cat <<EOF
|
if [ -n "$tag" ]; then cat <<EOF
|
||||||
"tag": "$(json_escape "$tag")",
|
"tag": $(json_escape "$tag"),
|
||||||
EOF
|
EOF
|
||||||
elif [ -n "$darcs_hash" ]; then cat <<EOF
|
elif [ -n "$darcs_hash" ]; then cat <<EOF
|
||||||
"darcs-hash": $(json_escape "$darcs_hash"),
|
"darcs-hash": $(json_escape "$darcs_hash"),
|
||||||
|
|||||||
Reference in New Issue
Block a user