aboutsummaryrefslogtreecommitdiff
path: root/development/cf-cli/cf-cli.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/cf-cli/cf-cli.SlackBuild')
-rw-r--r--development/cf-cli/cf-cli.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/cf-cli/cf-cli.SlackBuild b/development/cf-cli/cf-cli.SlackBuild
index 2b4a83fac630..9f757807ddf0 100644
--- a/development/cf-cli/cf-cli.SlackBuild
+++ b/development/cf-cli/cf-cli.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
BIN=cf
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cf-cli
VERSION=${VERSION:-7.1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}