diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-03-30 12:06:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-03-30 12:06:19 +0000 |
commit | 2031296b43cb7958555bc0ae87528995eeb6acc1 (patch) | |
tree | 750ce3850128b552a0894812edc002229822c0cf /community | |
parent | e7b7d9cdc4fda4e7895d4edf999c840fc198a895 (diff) | |
download | aports-2031296b43cb7958555bc0ae87528995eeb6acc1.tar.bz2 aports-2031296b43cb7958555bc0ae87528995eeb6acc1.tar.xz |
community/erlang: set -e build fix
Diffstat (limited to 'community')
-rw-r--r-- | community/erlang/APKBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/community/erlang/APKBUILD b/community/erlang/APKBUILD index 782f02b36c..2c9c040982 100644 --- a/community/erlang/APKBUILD +++ b/community/erlang/APKBUILD @@ -159,6 +159,7 @@ typer() { _mv_erlang_lib typer; } xmerl() { _mv_erlang_lib xmerl; } dev() { + set -x local i= j= depends="$pkgname=$pkgver-r$pkgrel $depends_dev" pkgdesc="$pkgdesc (development files)" @@ -179,7 +180,7 @@ dev() { d="$subpkgdir/${i%/*}" # dirname $i mkdir -p "$d" mv "$pkgdir/$i" "$d" - rmdir "$pkgdir/${i%/*}" 2>/dev/null + rmdir "$pkgdir/${i%/*}" 2>/dev/null || true fi done # move *.so links needed when linking the apps to -dev packages |