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