mirror of
https://codeberg.org/kiss-community/repo
synced 2025-04-02 02:57:17 -06:00
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() {
|
pkg_build() {
|
||||||
log "Building $pkg."
|
log "Building $pkg."
|
||||||
|
|
||||||
cd "$mak_dir"
|
(set -e errexit; cd "$mak_dir"; . "$OLDPWD/build") ||
|
||||||
set -e errexit
|
die "Build failed."
|
||||||
. "$OLDPWD/build"
|
|
||||||
set +e errexit
|
|
||||||
cd "$rep_dir/$name"
|
|
||||||
|
|
||||||
cp -R "$rep_dir/$name" "$pkg_dir/$dbs_dir"
|
cp -R "$rep_dir/$name" "$pkg_dir/$dbs_dir"
|
||||||
touch "$pkg_dir/$dbs_dir/$name/manifest"
|
touch "$pkg_dir/$dbs_dir/$name/manifest"
|
||||||
|
Loading…
Reference in New Issue
Block a user