diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-01-14 15:26:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-01-14 15:26:58 +0000 |
commit | a6150cc7e064f009537e4a3a444a9eb83c667113 (patch) | |
tree | b64195e6547a19315c9bbe0a5a68f7b8a96491db /abuild.in | |
parent | a5caab30c9cc5ea5209f5394f456d9f9b42717a6 (diff) | |
download | abuild-a6150cc7e064f009537e4a3a444a9eb83c667113.tar.gz abuild-a6150cc7e064f009537e4a3a444a9eb83c667113.tar.bz2 abuild-a6150cc7e064f009537e4a3a444a9eb83c667113.tar.xz abuild-a6150cc7e064f009537e4a3a444a9eb83c667113.zip |
abuild: fix move of .a file to -dev subpackage
seems like new version of busybox find would stop if lib/ dir does not
exist.
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1294,6 +1294,8 @@ default_dev() { done cd "$pkgdir" || return 0 + local libdirs=usr/ + [ -d lib/ ] && libdirs="lib/ $libdirs" for i in usr/include usr/lib/pkgconfig usr/share/aclocal\ usr/share/gettext usr/bin/*-config \ usr/share/vala/vapi usr/share/gir-[0-9]*\ @@ -1301,7 +1303,7 @@ default_dev() { usr/lib/qt*/mkspecs \ usr/lib/cmake \ $(find . -name include -type d) \ - $(find lib/ usr/ -name '*.[acho]' \ + $(find $libdirs -name '*.[acho]' \ -o -name '*.prl' 2>/dev/null); do if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then d="$subpkgdir/${i%/*}" # dirname $i |