index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-04-27 22:54:17 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-05-08 12:45:26 +1000 |
commit | b93dfa935f900d884f14d5be8949dc0ae85f1692 (patch) | |
tree | 6943b1414231c5ee5df6c41490d9d44d0346634f /scripts/libmakepkg/source | |
parent | a0f4429e95240b8a275ab6c43c4b8d0b11cfcd5d (diff) |
-rw-r--r-- | scripts/libmakepkg/source/git.sh.in | 2 |
diff --git a/scripts/libmakepkg/source/git.sh.in b/scripts/libmakepkg/source/git.sh.in index 96d79623..ccf4642b 100644 --- a/scripts/libmakepkg/source/git.sh.in +++ b/scripts/libmakepkg/source/git.sh.in @@ -117,7 +117,7 @@ extract_git() { if [[ ${fragment%%=*} = tag ]]; then tagname="$(git tag -l --format='%(tag)' "$ref")" - if [[ -n $tagname && $tagname != $ref ]]; then + if [[ -n $tagname && $tagname != "$ref" ]]; then error "$(gettext "Failure while checking out version %s, the git tag has been forged")" "$ref" plain "$(gettext "Aborting...")" exit 1 |