index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | K. Piche <kevin@archlinux.org> | 2007-12-22 18:58:49 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-28 19:54:45 -0600 |
commit | c84feb92dbbc6d5f60cb58db53cfc372acf0516c (patch) | |
tree | 77f8ac8448ab4ccb01dc29eb60c94d7d8de33917 /scripts/makepkg.sh.in | |
parent | 14d6832ef24aeda7fe77cf4285538baa6e21670c (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index ef7bae50..f37772a6 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1288,6 +1288,10 @@ fi source "$BUILDSCRIPT" # check for no-no's in the build script +if [ -z "$pkgname" ]; then + error "$(gettext "%s is not allowed to be empty.")" "pkgname" + exit 1 +fi if [ -z "$pkgver" ]; then error "$(gettext "%s is not allowed to be empty.")" "pkgver" exit 1 |