aboutsummaryrefslogtreecommitdiff
path: root/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild')
-rw-r--r--games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild b/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
index 9bfc9152e8f5a..4b2ea0768c5e8 100644
--- a/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
+++ b/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
@@ -22,6 +22,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=assaultcube-reloaded
SRCNAM=acr
VERSION=${VERSION:-2.7}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}