libraries/pydot: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:39:04 -04:00
parent 8b6137fb20
commit 23a4f8aa48

View file

@ -53,8 +53,8 @@ python setup.py install --root=$PKG
# remove wrongly installed docs
rm -f $PKG/usr/{ChangeLog,LICENSE,README}
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE PKG-INFO README \