aboutsummaryrefslogtreecommitdiff
path: root/development/php-apcu/php-apcu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/php-apcu/php-apcu.SlackBuild')
-rw-r--r--development/php-apcu/php-apcu.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/php-apcu/php-apcu.SlackBuild b/development/php-apcu/php-apcu.SlackBuild
index 4527f8367453..fb7b128b50bf 100644
--- a/development/php-apcu/php-apcu.SlackBuild
+++ b/development/php-apcu/php-apcu.SlackBuild
@@ -24,6 +24,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-apcu
SRCNAM=apcu
VERSION=${VERSION:-5.1.17}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}