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