forked from kiss-community/repo
puke: Build in subshell
This commit is contained in:
parent
0f3207cd91
commit
d5b8c304fd
7
puke
7
puke
@ -119,11 +119,8 @@ pkg_extract() {
|
||||
pkg_build() {
|
||||
log "Building $pkg."
|
||||
|
||||
cd "$mak_dir"
|
||||
set -e errexit
|
||||
. "$OLDPWD/build"
|
||||
set +e errexit
|
||||
cd "$rep_dir/$name"
|
||||
(set -e errexit; cd "$mak_dir"; . "$OLDPWD/build") ||
|
||||
die "Build failed."
|
||||
|
||||
cp -R "$rep_dir/$name" "$pkg_dir/$dbs_dir"
|
||||
touch "$pkg_dir/$dbs_dir/$name/manifest"
|
||||
|
Loading…
Reference in New Issue
Block a user