aboutsummaryrefslogtreecommitdiff
path: root/perl/nqp/nqp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/nqp/nqp.SlackBuild')
-rw-r--r--perl/nqp/nqp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/nqp/nqp.SlackBuild b/perl/nqp/nqp.SlackBuild
index 7d51f00df785..1dedd34f967b 100644
--- a/perl/nqp/nqp.SlackBuild
+++ b/perl/nqp/nqp.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=nqp
VERSION=${VERSION:-2021.03}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}