diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-06-19 02:53:43 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-20 15:19:58 -0500 |
commit | 6e56bc9b1545043474c6e9e12c253d68bf984401 (patch) | |
tree | f95e87598f71582231bf0d33f5e0932fd937c03b | |
parent | eeb98644519804453971c097fe9cf7a92848e577 (diff) | |
download | slackbuilds-6e56bc9b1545043474c6e9e12c253d68bf984401.tar.gz |
development/mysqlcc: Fix TMP value and old sourcedir removal
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | development/mysqlcc/mysqlcc.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/development/mysqlcc/mysqlcc.SlackBuild b/development/mysqlcc/mysqlcc.SlackBuild index ab1ac3058b..24022a6293 100644 --- a/development/mysqlcc/mysqlcc.SlackBuild +++ b/development/mysqlcc/mysqlcc.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=mysqlcc VERSION=0.9.8 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -20,7 +20,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/dev/shm} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -43,7 +43,7 @@ set -e # Exit on most errors rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION-src tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz cd $PRGNAM-$VERSION-src chown -R root:root . |