libretro-super/libretro-build-xdk1.sh

18 lines
323 B
Bash
Raw Permalink Normal View History

#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
2013-02-10 15:01:43 +00:00
2017-09-17 15:40:52 +00:00
SCRIPT="${0#./}"
BASE_DIR="${SCRIPT%/*}"
WORKDIR="$PWD"
2013-02-10 15:01:43 +00:00
2017-09-17 15:40:52 +00:00
if [ "$BASE_DIR" = "$SCRIPT" ]; then
BASE_DIR="$WORKDIR"
else
2017-09-17 15:40:52 +00:00
if [[ "$0" != /* ]]; then
# Make the path absolute
BASE_DIR="$WORKDIR/$BASE_DIR"
fi
fi
2017-09-17 15:40:52 +00:00
2017-09-17 15:42:12 +00:00
platform=xbox1 ${BASE_DIR}/libretro-build.sh $@