aboutsummaryrefslogtreecommitdiff
path: root/network/tntnet/tntnet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/tntnet/tntnet.SlackBuild')
-rw-r--r--network/tntnet/tntnet.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/tntnet/tntnet.SlackBuild b/network/tntnet/tntnet.SlackBuild
index 0c65a01ec0177..7be139f83504d 100644
--- a/network/tntnet/tntnet.SlackBuild
+++ b/network/tntnet/tntnet.SlackBuild
@@ -21,6 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tntnet
VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-2}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}