aboutsummaryrefslogtreecommitdiff
path: root/games/arnold-cpc/arnold-cpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/arnold-cpc/arnold-cpc.SlackBuild')
-rw-r--r--games/arnold-cpc/arnold-cpc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/arnold-cpc/arnold-cpc.SlackBuild b/games/arnold-cpc/arnold-cpc.SlackBuild
index 782e4e5e053d1..0df77636985bd 100644
--- a/games/arnold-cpc/arnold-cpc.SlackBuild
+++ b/games/arnold-cpc/arnold-cpc.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=arnold-cpc
VERSION=${VERSION:-2009.03.17}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}