From 7f26b9929fe95171f3719de3f601b696a2def263 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 4 Jul 2021 11:41:06 +0200 Subject: All: SlackBuilds run in the directory they are in Signed-off-by: Heinz Wiesinger Signed-off-by: Willy Sudiarto Raharjo --- development/astyle/astyle.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'development/astyle') diff --git a/development/astyle/astyle.SlackBuild b/development/astyle/astyle.SlackBuild index 73cb9d1be5..09563a9e4c 100644 --- a/development/astyle/astyle.SlackBuild +++ b/development/astyle/astyle.SlackBuild @@ -46,6 +46,8 @@ # .so isn't versioned (upgrades may cause breakage). # - Simplify and tweak the script. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=astyle VERSION=${VERSION:-3.1} BUILD=${BUILD:-2} @@ -61,7 +63,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -- cgit v1.2.3