Natanael Copa e1d629b6c4 abump: fix set -e issue
It appears that when the subshell has a ||, the 'set -e' within
subshell gets invalidated.

This will work as expected:

 ( set -e; false; echo "should not get here" )

While this will not work as expected:

 ( set -e; false; echo "should not get here" ) || false

We resolve it by using $? to detect the status of subshell. We also let
the exitcode indicate how many packages that failed.

While here we also refactor it so most of the loop happens within the
subshell. This lets us set (or increase) rc variable once, and it
reduces number of forks which gives slightly better performance.
2013-07-10 07:14:46 +00:00
2013-02-15 13:08:09 +00:00
2013-07-10 07:14:46 +00:00
2013-04-23 07:41:27 +00:00
2011-09-30 06:42:58 +00:00
2009-02-08 21:02:22 +00:00
Description
Build script to build Alpine packages (forked to remove busybox dependency)
1.2 MiB
Languages
Shell 61.4%
Roff 12%
C 10.4%
Perl 9.4%
Ruby 4.9%
Other 1.9%