aboutsummaryrefslogtreecommitdiffstats
path: root/main/aports-build
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-08-04 15:59:16 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-08-04 16:09:31 +0200
commit8450b7e4e4c242f5edff093d96dfb7f94308fe65 (patch)
tree73c83bffd6d4c936a775f7f533b150ea57cf82ee /main/aports-build
parent97c6816c1e77a841ce64bf2314661dc5cc69f350 (diff)
downloadaports-8450b7e4e4c242f5edff093d96dfb7f94308fe65.tar.bz2
aports-8450b7e4e4c242f5edff093d96dfb7f94308fe65.tar.xz
main/aports-build: fix shell script to work with busybox 1.25
Diffstat (limited to 'main/aports-build')
-rw-r--r--main/aports-build/APKBUILD8
-rw-r--r--main/aports-build/aports-build4
2 files changed, 6 insertions, 6 deletions
diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD
index e59489d773..d67b4bfa9c 100644
--- a/main/aports-build/APKBUILD
+++ b/main/aports-build/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aports-build
pkgver=1.0
-pkgrel=7
+pkgrel=8
pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux"
url="http://alpinelinux.org"
arch="noarch"
@@ -49,15 +49,15 @@ package() {
|| return 1
}
-md5sums="7bc2489c0a45af7b4fb757ae2c4b1ea0 aports-build
+md5sums="039ec1116bad88ea9d83654693db9ae3 aports-build
cb4807ea64c4368487786217db087bac aports-build.initd
c02d90b2bb0c48e416b707caa8766c50 mqtt-exec.aports-build.confd
ea60ae81dc6557b0312f181c8c8aeecf report-build-errors.lua"
-sha256sums="2a78cd9612a7982e37e7754dfc80e88db681b3969df1f7117a9276e99397c00e aports-build
+sha256sums="e0336d4f1cd5d76b6b83d8add773454f725d28e841d3036e243dca144945b017 aports-build
3e2d551f72273f37290db342a153abd377397483677a684645d22df7b8a8592f aports-build.initd
7d2001688c3776ffb53c422dee424bcf0346ae20f3df5c6c2f4944022b19cb4d mqtt-exec.aports-build.confd
b3d083ed4609ec92630819b638cd5dafdad17df68b25aa6da4c70de901910448 report-build-errors.lua"
-sha512sums="c0dbe5a8dc32459f2857e82f8094e1fddf091702b91b9635e047ec4ec2f0db3a83c149a4a8d23b2afd2e129a90c1897dcf432d4689830caf16e41e69d9c883a4 aports-build
+sha512sums="d84559c92514d49f3364f447c3b64317c3b01995963d895872f4f8dc018340bb6d3e870af2b5f4ae49180d45fbb332bf5b14028eae674b02c15285d88cf24498 aports-build
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
93d26e2055dbb02e863bf76b64a549c100decec3fda612ce96ca1464e6d61befa9f57f202553a25cf323e67e266f532d19c7423ff070943a59b3973946d949fe mqtt-exec.aports-build.confd
3453e45cb687d2af6cd1c490fd5b7134f643570a84b354b57ba49295e5a0d01ef65abc0909aeb424cbe48aa280c19cc4f1dce5f4f10e5137a80395c3be00c733 report-build-errors.lua"
diff --git a/main/aports-build/aports-build b/main/aports-build/aports-build
index 220cb5e916..94a453c28d 100644
--- a/main/aports-build/aports-build
+++ b/main/aports-build/aports-build
@@ -115,7 +115,7 @@ done
shift $(( $OPTIND - 1 ))
while true; do
- local do_release=false
+ do_release=false
cd $aports || return 1
# check if we need to rebuild
log "pulling git"
@@ -152,7 +152,7 @@ while true; do
rc=0
for repo in $repos; do
if ! build $repo >"$logdir"/$hostname.log 2>&1 ; then
- local errlog=$hostname.$_current.log
+ errlog=$hostname.$_current.log
cp "$logdir"/$hostname.log "$logdir"/$errlog
# todo: revert last commit?
send_irc "failed to build $_current: $logurlprefix/$errlog"