system/unison: Fixed for bash4.
This commit is contained in:
parent
4f30520c3c
commit
933571ec1b
|
@ -62,12 +62,8 @@ make UISTYLE=$FLAVOR DEBUGGING=false THREADS=true NATIVE=true
|
||||||
mkdir -p $PKG/usr/bin
|
mkdir -p $PKG/usr/bin
|
||||||
install -m 0755 $PRGNAM $PKG/usr/bin
|
install -m 0755 $PRGNAM $PKG/usr/bin
|
||||||
|
|
||||||
( cd $PKG
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
xargs strip --strip-unneeded 2> /dev/null || true
|
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
|
||||||
xargs strip --strip-unneeded 2> /dev/null || true
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/share/applications
|
mkdir -p $PKG/usr/share/applications
|
||||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||||
|
|
Loading…
Reference in New Issue