summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mirage/mirage.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/mirage/mirage.SlackBuild b/graphics/mirage/mirage.SlackBuild
index f6a5d10d1b..e73036e060 100644
--- a/graphics/mirage/mirage.SlackBuild
+++ b/graphics/mirage/mirage.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Mirage
# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
-# Copyright 2010-2011 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2010, 2011, 2013 Binh Nguyen <binhvng@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=mirage
VERSION=${VERSION:-0.9.5.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -41,6 +41,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2