aboutsummaryrefslogtreecommitdiff
path: root/misc/megatunix/megatunix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/megatunix/megatunix.SlackBuild')
-rw-r--r--misc/megatunix/megatunix.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/megatunix/megatunix.SlackBuild b/misc/megatunix/megatunix.SlackBuild
index fdbf73960f86f..a5be50d766676 100644
--- a/misc/megatunix/megatunix.SlackBuild
+++ b/misc/megatunix/megatunix.SlackBuild
@@ -16,6 +16,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=megatunix
VERSION=${VERSION:-0.9.23}
BUILD=${BUILD:-2}
@@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}