aboutsummaryrefslogtreecommitdiff
path: root/development/mg-troglobit
diff options
context:
space:
mode:
Diffstat (limited to 'development/mg-troglobit')
-rw-r--r--development/mg-troglobit/mg-troglobit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/mg-troglobit/mg-troglobit.SlackBuild b/development/mg-troglobit/mg-troglobit.SlackBuild
index 8abb0e4629270..4fcb90219c18f 100644
--- a/development/mg-troglobit/mg-troglobit.SlackBuild
+++ b/development/mg-troglobit/mg-troglobit.SlackBuild
@@ -23,6 +23,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mg-troglobit
SRCNAM=${PRGNAM%-*}
VERSION=${VERSION:-3.4}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}