index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-02-20 18:57:46 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-20 18:58:04 -0600 |
commit | 4bd52f3fe4d21fc4d54aba7b7c5d3134d69f9341 (patch) | |
tree | 0174e2bcf440f66cc94d75c4840bac3862bdb926 /scripts/makepkg.sh.in | |
parent | 92ab7c33fb4d72eba070636f620f595dc4650ee9 (diff) | |
parent | 420c8846b984b5ca8ddd27ff7b799ec77fbbc2a4 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 13 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 090ba5df..598e6879 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -939,8 +939,8 @@ create_xdelta() { create_srcpackage() { cd "$startdir" msg "$(gettext "Creating source package...")" - local comp_files="PKGBUILD" - msg2 "$(gettext "Adding %s...")" "PKGBUILD" + local comp_files="$BUILDSCRIPT" + msg2 "$(gettext "Adding %s...")" "$BUILDSCRIPT" if [ "$install" != "" ]; then if [ -f $install ]; then @@ -1107,6 +1107,15 @@ This is free software; see the source for copying conditions.\n\ There is NO WARRANTY, to the extent permitted by law.\n")" } +# PROGRAM START + +# determine whether we have gettext; make it a no-op if we do not +if [ ! $(type -t gettext) ]; then + gettext() { + echo "$@" + } +fi + ARGLIST=$@ #preserve environment variables |