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