aboutsummaryrefslogtreecommitdiff
path: root/libraries/php-redis/php-redis.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/php-redis/php-redis.SlackBuild')
-rw-r--r--libraries/php-redis/php-redis.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/php-redis/php-redis.SlackBuild b/libraries/php-redis/php-redis.SlackBuild
index aca7de1bf5e2a..e8e7eb338fda5 100644
--- a/libraries/php-redis/php-redis.SlackBuild
+++ b/libraries/php-redis/php-redis.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SRCNAM=redis
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-redis
VERSION=${VERSION:-4.2.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}