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; } ...@@ -159,6 +159,7 @@ typer() { _mv_erlang_lib typer; }
xmerl() { _mv_erlang_lib xmerl; } xmerl() { _mv_erlang_lib xmerl; }
dev() { dev() {
set -x
local i= j= local i= j=
depends="$pkgname=$pkgver-r$pkgrel $depends_dev" depends="$pkgname=$pkgver-r$pkgrel $depends_dev"
pkgdesc="$pkgdesc (development files)" pkgdesc="$pkgdesc (development files)"
...@@ -179,7 +180,7 @@ dev() { ...@@ -179,7 +180,7 @@ dev() {
d="$subpkgdir/${i%/*}" # dirname $i d="$subpkgdir/${i%/*}" # dirname $i
mkdir -p "$d" mkdir -p "$d"
mv "$pkgdir/$i" "$d" mv "$pkgdir/$i" "$d"
rmdir "$pkgdir/${i%/*}" 2>/dev/null rmdir "$pkgdir/${i%/*}" 2>/dev/null || true
fi fi
done done
# move *.so links needed when linking the apps to -dev packages # 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