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