From 24073402dd3d4324f117f12abc3c921cc3dc3750 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 2 Jun 2013 00:23:36 -0600 Subject: 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 --- src/fullpkg/fullpkg-build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/fullpkg') 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 -- cgit v1.2.3-54-g00ecf