aboutsummaryrefslogtreecommitdiff
path: root/perl/zef/zef.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/zef/zef.SlackBuild')
-rw-r--r--perl/zef/zef.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/zef/zef.SlackBuild b/perl/zef/zef.SlackBuild
index 47e6161080730..de6d048447483 100644
--- a/perl/zef/zef.SlackBuild
+++ b/perl/zef/zef.SlackBuild
@@ -17,6 +17,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zef
VERSION=${VERSION:-0.9.4}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}