summaryrefslogtreecommitdiffstats
path: root/development/scite/scite.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r--development/scite/scite.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild
index 19488873c0..ef69dc56a8 100644
--- a/development/scite/scite.SlackBuild
+++ b/development/scite/scite.SlackBuild
@@ -26,6 +26,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scite
VERSION=${VERSION:-3.7.4}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}