aboutsummaryrefslogtreecommitdiff
path: root/development/textadept
diff options
context:
space:
mode:
Diffstat (limited to 'development/textadept')
-rw-r--r--development/textadept/textadept.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/textadept/textadept.SlackBuild b/development/textadept/textadept.SlackBuild
index 155b3bccb9e66..ef3d0c9068286 100644
--- a/development/textadept/textadept.SlackBuild
+++ b/development/textadept/textadept.SlackBuild
@@ -22,6 +22,8 @@
# along with this program (most likely, a file named COPYING). If
# not, see <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=textadept
VERSION=${VERSION:-10.8}
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}