aboutsummaryrefslogtreecommitdiff
path: root/development/textadept/textadept.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/textadept/textadept.SlackBuild')
-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 155b3bccb9e6..ef3d0c906828 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}