libretro-super/libretro-build-xdk360.sh

18 lines
325 B
Bash
Raw Normal View History

#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
2013-02-10 14:59:37 +01:00
2017-09-16 21:08:27 +02:00
SCRIPT="${0#./}"
BASE_DIR="${SCRIPT%/*}"
WORKDIR="$PWD"
2013-02-10 14:59:37 +01:00
2017-09-16 21:08:27 +02:00
if [ "$BASE_DIR" = "$SCRIPT" ]; then
BASE_DIR="$WORKDIR"
else
2017-09-16 21:08:27 +02:00
if [[ "$0" != /* ]]; then
# Make the path absolute
BASE_DIR="$WORKDIR/$BASE_DIR"
fi
fi
2017-09-16 21:08:27 +02:00
platform=xbox360 ${BASE_DIR}/libretro-build.sh $@