puke: fix set -e bug

This commit is contained in:
Dylan Araps 2019-05-14 23:05:50 +03:00
parent 756a8b45e3
commit 2791997d9a
9 changed files with 9 additions and 10 deletions

3
puke
View File

@ -98,8 +98,7 @@ pkg_extract() {
} }
pkg_build() { pkg_build() {
(set -e errexit; cd "$mak_dir"; "$OLDPWD/build" "$pkg_dir") || (cd "$mak_dir"; "$OLDPWD/build" "$pkg_dir") || die "Build failed."
die "Build failed."
cp -R "$rep_dir/$name" "$pkg_dir/$dbs_dir" cp -R "$rep_dir/$name" "$pkg_dir/$dbs_dir"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
make make
make install make install

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
gcc certdata2pem.c -o "mozilla/certdata2pem" gcc certdata2pem.c -o "mozilla/certdata2pem"

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh -e
/usr/sbin/update-ca-certificates --fresh /usr/sbin/update-ca-certificates --fresh

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
patch -p1 -i fix-glibc-2.28.patch patch -p1 -i fix-glibc-2.28.patch

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
./Configure linux-x86_64 \ ./Configure linux-x86_64 \
--prefix=/usr \ --prefix=/usr \

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
BUILD_ZLIB=0 BUILD_ZLIB=0
BUILD_BZIP2=0 BUILD_BZIP2=0

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \