summaryrefslogtreecommitdiff
path: root/games/ags/ags.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/ags/ags.SlackBuild')
-rw-r--r--games/ags/ags.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/ags/ags.SlackBuild b/games/ags/ags.SlackBuild
index 42b01bfb91..552d7d5b21 100644
--- a/games/ags/ags.SlackBuild
+++ b/games/ags/ags.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=ags
VERSION=${VERSION:-3.5.1.8}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}