diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-09 09:10:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-09 09:11:48 +0000 |
commit | 66450aa1480e35378fe351e708ef026972ed770f (patch) | |
tree | 4445a44f620ef4e4cb080f917ffbbbdcf79dc7bc /main/fprobe-ulog | |
parent | c12ff88a0540a0a4fddbeae68ac72331c7ebd28a (diff) | |
download | aports-66450aa1480e35378fe351e708ef026972ed770f.tar.bz2 aports-66450aa1480e35378fe351e708ef026972ed770f.tar.xz |
main/fprobe-ulog: cleanup. replace exit 1 with return 1
Diffstat (limited to 'main/fprobe-ulog')
-rw-r--r-- | main/fprobe-ulog/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/fprobe-ulog/APKBUILD b/main/fprobe-ulog/APKBUILD index ff8afad471..6dddc8d39c 100644 --- a/main/fprobe-ulog/APKBUILD +++ b/main/fprobe-ulog/APKBUILD @@ -21,10 +21,10 @@ _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd $_builddir update_config_sub || return 1 - for i in ../*.patch - do - msg "Applying $i" - patch -p1 < ../$i || exit 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac done } |