mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
buildsystem: restore set -e fail-on-error behaviour
This commit is contained in:
@@ -44,9 +44,11 @@ fi
|
||||
if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
||||
build_msg "CLR_UNPACK" "UNPACK" "${1}" "indent"
|
||||
|
||||
pkg_call_optional pre_unpack
|
||||
pkg_call_exists pre_unpack && pkg_call pre_unpack
|
||||
|
||||
if ! pkg_call unpack; then
|
||||
if pkg_call_exists unpack; then
|
||||
pkg_call unpack
|
||||
else
|
||||
if [ -n "$PKG_URL" ]; then
|
||||
$SCRIPTS/extract $1 $BUILD
|
||||
fi
|
||||
@@ -69,10 +71,10 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
||||
mkdir -p "${PKG_BUILD}"
|
||||
fi
|
||||
|
||||
pkg_call_optional post_unpack
|
||||
pkg_call_exists post_unpack && pkg_call post_unpack
|
||||
|
||||
if [ "${PKG_SKIP_PATCHES}" != "yes" ]; then
|
||||
pkg_call_optional pre_patch
|
||||
pkg_call_exists pre_patch && pkg_call pre_patch
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PATCH_ARCH="x86"
|
||||
@@ -141,7 +143,7 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
||||
fi
|
||||
done
|
||||
|
||||
pkg_call_optional post_patch
|
||||
pkg_call_exists post_patch && pkg_call post_patch
|
||||
fi
|
||||
|
||||
if [ ! "$PKG_NAME" = "configtools" ] ; then
|
||||
|
||||
Reference in New Issue
Block a user