From 4638e429d2ad9ca0ed8c4681725417b22fb9878a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 2 Oct 2009 17:03:01 +0200 Subject: [PATCH] Build-Target: made stop if config/$config/.stop is found after building a package --- scripts/Build-Target | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/Build-Target b/scripts/Build-Target index 5666c67..975f0aa 100755 --- a/scripts/Build-Target +++ b/scripts/Build-Target @@ -241,7 +241,16 @@ pkgloop_package() { # before calling pkgloop(). # pkgloop_action() { + local rc= $cmd_buildpkg + rc=$? + + if [ -f "config/$config/.stop" ]; then + rm -f "config/$config/.stop" + exit 0 + fi + + return $rc } # Try to umount any directories mounted by Build-Pkg -chroot