summaryrefslogtreecommitdiff
path: root/src/fullpkg/fullpkg-build
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-02 00:23:36 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 20:01:06 -0600
commit24073402dd3d4324f117f12abc3c921cc3dc3750 (patch)
tree7a3f1ed1e354ebdc015b97aba7751c6a0f6dec99 /src/fullpkg/fullpkg-build
parent7c741c5c1b0253d87a925927cb74ff3d329aa16a (diff)
fix up mipsrelease/fullpkg-build/HOOKLOCALRELEASE
HOOKLOCALRELEASE: - set to librestage by default, because the mips value is mipsrelease, which calls librestage - document what arguments it is given. fullpkg-build: - Run HOOKLOCALRELEASE in a way that is consistent with treepkg does and what mipsrelease takes. Note that what fullpkg-build did is what mipsrelease documentation said, but not what it actually did. - Don't run librestage; if we want it to run, run it with HOOKLOCALRELEASE mipsrelease: Telling diff to ignore whitespace helps with this one. - use get_full_version from common.sh/libremessages - give a code path to display usage() - correct usage() - fix a little quoting - make sure makepkg.conf variables are set
Diffstat (limited to 'src/fullpkg/fullpkg-build')
-rwxr-xr-xsrc/fullpkg/fullpkg-build4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fullpkg/fullpkg-build b/src/fullpkg/fullpkg-build
index e52bff1..cbaea91 100755
--- a/src/fullpkg/fullpkg-build
+++ b/src/fullpkg/fullpkg-build
@@ -67,11 +67,9 @@ succesfull_build() {
if source .INFO && [ -n "$repo" ]; then
if [ ! -z "$HOOKLOCALRELEASE" ]; then
- find -name "*.pkg.tar.?z" -print0 | xargs -0 "$HOOKLOCALRELEASE" "$repo"
+ "$HOOKLOCALRELEASE" "$repo"
fi
- librestage $repo || echo "unstaged:$(basename $PWD)" >>$build_dir/log
-
msg "Updating pacman db and packages"
sudo pacman -Sy || true