Browse Source

Build-Target: made stop if config/$config/.stop is found after building a package

karasz/new-early
Alejandro Mery 15 years ago
parent
commit
4638e429d2
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      scripts/Build-Target

+ 9
- 0
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

Loading…
Cancel
Save