forked from kiss-community/repo
puke: fix set -e bug
This commit is contained in:
parent
756a8b45e3
commit
2791997d9a
3
puke
3
puke
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
gcc certdata2pem.c -o "mozilla/certdata2pem"
|
gcc certdata2pem.c -o "mozilla/certdata2pem"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
/usr/sbin/update-ca-certificates --fresh
|
/usr/sbin/update-ca-certificates --fresh
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make DESTDIR="$1" install
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
./Configure linux-x86_64 \
|
./Configure linux-x86_64 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
BUILD_ZLIB=0
|
BUILD_ZLIB=0
|
||||||
BUILD_BZIP2=0
|
BUILD_BZIP2=0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user