aboutsummaryrefslogtreecommitdiff
path: root/network/telegram/telegram.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/telegram/telegram.SlackBuild')
-rw-r--r--network/telegram/telegram.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/telegram/telegram.SlackBuild b/network/telegram/telegram.SlackBuild
index 70c43f3dbdb62..02ca4808fb7af 100644
--- a/network/telegram/telegram.SlackBuild
+++ b/network/telegram/telegram.SlackBuild
@@ -25,6 +25,8 @@
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=telegram
SRCNAM=tsetup
SRCDIR=Telegram
@@ -38,7 +40,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}