From 0cddba9db967585343f089451bfe632df585df70 Mon Sep 17 00:00:00 2001 From: Mario Antunes Date: Tue, 8 Jul 2014 06:38:43 +0700 Subject: development/idea: Prevent some binaries to get stripped. Signed-off-by: Willy Sudiarto Raharjo --- development/idea/idea.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'development') diff --git a/development/idea/idea.SlackBuild b/development/idea/idea.SlackBuild index 79fa534fdf..f93b66433c 100644 --- a/development/idea/idea.SlackBuild +++ b/development/idea/idea.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=idea ARCNAM=ideaIC VERSION=${VERSION:-13.1.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch @@ -40,8 +40,9 @@ chmod 755 $PKG/etc/profile.d/* install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop install -D -m 0644 $PKG/opt/$PRGNAM/bin/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png +# Prevent fsnotifer and fsnotifier64 from being striped find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + | grep -v "fsnotifier" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd $PKG/opt/$PRGNAM -- cgit v1.2.3