diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-03-24 11:36:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-03-24 11:36:42 +0000 |
commit | ae2275f8513c845157e54f36592a3592a56c7a3c (patch) | |
tree | 719d1570fa97e83fdcd3d5786bb0b73a2d620fac /main/abuild/0001-abuild-fix-runpart.patch | |
parent | e1e22e474e12adc1d27d852e3b88a92fa930cf98 (diff) | |
download | aports-ae2275f8513c845157e54f36592a3592a56c7a3c.tar.bz2 aports-ae2275f8513c845157e54f36592a3592a56c7a3c.tar.xz |
main/abuild: upgrade to 3.0.0_rc2
Diffstat (limited to 'main/abuild/0001-abuild-fix-runpart.patch')
-rw-r--r-- | main/abuild/0001-abuild-fix-runpart.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/main/abuild/0001-abuild-fix-runpart.patch b/main/abuild/0001-abuild-fix-runpart.patch deleted file mode 100644 index 6f6c3eae22..0000000000 --- a/main/abuild/0001-abuild-fix-runpart.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 3b61bfb6445a71208e218828296b8ca3bb65932e Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Tue, 21 Mar 2017 08:05:44 +0000 -Subject: [PATCH] abuild: fix runpart - -we need to run the function for runpart in the same shell, otherwise we -will lose the global variables set in the split functions. ---- - abuild.in | 29 +++++++++++------------------ - 1 file changed, 11 insertions(+), 18 deletions(-) - -diff --git a/abuild.in b/abuild.in -index 1eede20..903da3a 100644 ---- a/abuild.in -+++ b/abuild.in -@@ -566,9 +566,9 @@ update_config_guess() { - runpart() { - local part=$1 - [ -n "$DEBUG" ] && msg "$part" -- abuild_function=$part "$abuild_path" \ -- $color_opt $nodeps $force $forceroot $keep $quiet \ -- $install_deps $recursive $upgrade || die "$part failed" -+ trap "die '$part failed'" EXIT -+ $part -+ trap - EXIT - } - - # override those in your build script -@@ -2340,22 +2340,15 @@ controldir="$pkgbasedir"/.control.${subpkgname:-$pkgname} - - trap 'die "Aborted by user"' INT - --if [ "$abuild_function" ]; then -- _function=$abuild_function -- abuild_function= -- $_function -+[ -z "$subpkgdir" ] && set_xterm_title "abuild${CROSS_COMPILE+-$CARCH}: $pkgname" - --else -- [ -z "$subpkgdir" ] && set_xterm_title "abuild${CROSS_COMPILE+-$CARCH}: $pkgname" -- -- if [ -z "$1" ]; then -- set all -- fi -- -- while [ $# -gt 0 ]; do -- runpart $1 -- shift -- done -+if [ -z "$1" ]; then -+ set all - fi - -+while [ $# -gt 0 ]; do -+ runpart $1 -+ shift -+done -+ - cleanup --- -2.11.1 - |