business/openerp-client: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:31:38 -04:00
parent 81cd367e5c
commit 4410a68753

View file

@ -56,8 +56,8 @@ sed -i "s|$PKG||g" $PKG/usr/bin/openerp-client
mkdir -p $PKG/usr/share/applications
cp -f $CWD/openerp-client.desktop $PKG/usr/share/applications/
find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \
| xargs strip --strip-unneeded 2> /dev/null || true
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
rm -rf $PKG/usr/share/man