Commit 2031296b authored by Natanael Copa's avatar Natanael Copa

community/erlang: set -e build fix

parent e7b7d9cd
......@@ -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
# move *.so links needed when linking the apps to -dev packages
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment