From fc437969bb8bf1b5771b3254fe0140a306ac5a4d Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:34:41 -0400 Subject: games/sl: Fixed for bash4. --- games/sl/sl.SlackBuild | 5 ++--- games/sl/sl.info | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/games/sl/sl.SlackBuild b/games/sl/sl.SlackBuild index a1ddaa0d2d..81c202f10e 100644 --- a/games/sl/sl.SlackBuild +++ b/games/sl/sl.SlackBuild @@ -75,9 +75,8 @@ mkdir -p $PKG/usr/man # man pages ) # End of manual installation -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; diff --git a/games/sl/sl.info b/games/sl/sl.info index fb337760ce..c0006c7914 100644 --- a/games/sl/sl.info +++ b/games/sl/sl.info @@ -2,9 +2,9 @@ PRGNAM="sl" VERSION="3.03_16" HOMEPAGE="http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html" DOWNLOAD="http://ftp.de.debian.org/debian/pool/main/s/sl/sl_3.03.orig.tar.gz \ - http://ftp.de.debian.org/debian/pool/main/s/sl/sl_3.03-16.diff.gz" + http://ftp.de.debian.org/debian/pool/main/s/sl/sl_3.03-16.diff.gz" MD5SUM="d0d997b964bb3478f7f4968eee13c698 \ - c6c20604f3f07e0149108fa5220de4b3" + c6c20604f3f07e0149108fa5220de4b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="V'yacheslav Stetskevych" -- cgit v1.2.3