aboutsummaryrefslogtreecommitdiff
path: root/network/uTox/uTox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/uTox/uTox.SlackBuild')
-rw-r--r--network/uTox/uTox.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/uTox/uTox.SlackBuild b/network/uTox/uTox.SlackBuild
index d09920e56981c..1344cdad8188d 100644
--- a/network/uTox/uTox.SlackBuild
+++ b/network/uTox/uTox.SlackBuild
@@ -18,6 +18,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uTox
VERSION=${VERSION:-0.18.1}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}