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