aboutsummaryrefslogtreecommitdiff
path: root/games/freeminer/freeminer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/freeminer/freeminer.SlackBuild')
-rw-r--r--games/freeminer/freeminer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/freeminer/freeminer.SlackBuild b/games/freeminer/freeminer.SlackBuild
index 4c2749c640c39..9330046fa8994 100644
--- a/games/freeminer/freeminer.SlackBuild
+++ b/games/freeminer/freeminer.SlackBuild
@@ -23,6 +23,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=freeminer
VERSION=${VERSION:-git7ad981}
SRCVER=7ad981638ea568caf0e3495752cb1bc4a3a853dd
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}