Alpine build tools
Go to file
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
.devbuildrc add a .devbuildrc for abuild subproject itself 2009-01-15 16:11:19 +00:00
.gitignore update gitignore 2013-02-15 13:08:09 +00:00
abuild-keygen.in various: fancier readconfig, permit env overrides 2013-07-09 07:13:46 +00:00
abuild-sign.in various: fancier readconfig, permit env overrides 2013-07-09 07:13:46 +00:00
abuild-sudo.c various: add descriptions, attribution, license 2013-07-08 14:48:56 +00:00
abuild-tar.c abuild-sudo, abuild-tar: cosmetic changes 2013-07-08 14:47:39 +00:00
abuild.conf abuild.conf: updated comment about PACKAGER/newapkbuild 2011-04-14 00:24:43 -05:00
abuild.in various: tweak opening comments, whitespace 2013-07-08 14:49:36 +00:00
abump.in abump: fix set -e issue 2013-07-10 07:14:46 +00:00
ap.in ap: new subcommand: list-apks 2013-04-23 07:41:27 +00:00
apkbuild-cpan.in apkbuild-cpan: Depend on test-requires and test-recommends, too, for safety's sake. 2011-11-04 03:43:00 -04:00
apkbuild-pypi.in apkbuild-pypi: script for generating APKBUILDs from PyPI. 2011-11-03 08:58:48 -04:00
apkgrel.in apkgrel, functions: refactor calculation of APKBUILD's path 2013-07-09 07:13:13 +00:00
aports.lua aports.lua: support filename::fileuri source format 2013-02-21 15:31:25 +00:00
bootchartd initramfs: process accounting & misc fixes 2009-03-03 19:43:26 +02:00
buildlab.in buildlab: make work in vservers 2011-09-30 06:42:58 +00:00
buildrepo.in buildrepo: avoid using 'i' as loop variable 2013-04-26 19:11:38 +00:00
checkapk.in various: fancier readconfig, permit env overrides 2013-07-09 07:13:46 +00:00
cmp-apks-iso cmp-apks-iso: fix spell error that have been around for ages 2009-08-14 05:56:34 +00:00
config.guess abuild: automatically replace the config.sub with our version 2013-07-02 11:10:04 +02:00
config.sub abuild: automatically replace the config.sub with our version 2013-07-02 11:10:04 +02:00
functions.sh.in functions: msg should always return success 2013-07-09 11:14:29 +00:00
initramfs-init initram: unpack apkovl with --numeric-owner 2009-04-16 06:30:11 +00:00
Makefile build: make sure functions.sh gets generated at build time 2013-07-10 07:14:32 +00:00
newapkbuild.in various: use long options, rework usages 2013-07-09 06:59:30 +00:00
sample.APKBUILD sample.APKBUILD: update with arch and depends_dev 2010-12-30 14:24:17 +00:00
sample.confd sample: use lowercase in init.d/conf.d sample files 2009-12-30 08:55:33 +00:00
sample.initd sample: use lowercase in init.d/conf.d sample files 2009-12-30 08:55:33 +00:00
sample.post-install abuild: fixes for new install scripts 2009-03-06 17:51:53 +00:00
sample.pre-install abuild: fixes for new install scripts 2009-03-06 17:51:53 +00:00
TODO abuild: improve sanitycheck 2009-02-08 21:02:22 +00:00