From 4b4b6660f5c1ef850203830a8be099dbeafa9d0a Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 18 Aug 2010 11:06:23 +0700 Subject: [PATCH 1/2] rainbow is in elpa.gnu.org now, let's use that Signed-off-by: Gwenhael Le Moine --- e/{ => UNUSED}/rainbow/rainbow.SlackBuild | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename e/{ => UNUSED}/rainbow/rainbow.SlackBuild (100%) diff --git a/e/rainbow/rainbow.SlackBuild b/e/UNUSED/rainbow/rainbow.SlackBuild similarity index 100% rename from e/rainbow/rainbow.SlackBuild rename to e/UNUSED/rainbow/rainbow.SlackBuild From 00a963ceb4e318ce227d6c1ef034d311423039f6 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 19 Aug 2010 14:00:12 +0700 Subject: [PATCH 2/2] change how $VERSION is extracted for a more robust method --- d/factor/factor.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d/factor/factor.SlackBuild b/d/factor/factor.SlackBuild index 40ec5986..6f12338a 100755 --- a/d/factor/factor.SlackBuild +++ b/d/factor/factor.SlackBuild @@ -4,8 +4,8 @@ set -x -e CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=$([ -e $PRGNAM-linux-*.tar.?z* ] && ls $PRGNAM-linux-*.tar.?z* | cut -d . -f 1 | cut -d - -f 5,6,7,8,9 ) ARCH=$(uname -m) +VERSION=$(ls -u factor*.tar.?z* | head -n1 | sed 's|.tar.gz$||' | sed "s|^factor-linux-$( [ "$ARCH" = "x86_64" ] && echo x86-64 || echo x86-32)-||" ) BUILD=1 PACKAGER=cyco