fix: unset any functions set by apkbuild
This commit is contained in:
parent
aeae707886
commit
24a42cdb5b
1 changed files with 2 additions and 1 deletions
3
apatch
3
apatch
|
@ -44,7 +44,8 @@ abuild clean fetch unpack default_prepare
|
|||
startdir="$PWD"
|
||||
srcdir="$startdir/src"
|
||||
. APKBUILD
|
||||
test -n "$builddir" || builddir="$srcdir/$pkgname-$pkgver"
|
||||
unset -f grep cut head git rm mv
|
||||
[ -n "$builddir" ] || builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
patchpath="$startdir/$1"
|
||||
|
||||
|
|
Loading…
Reference in a new issue