2015-02-17 03:19:30 +00:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
# vim: set ts=3 sw=3 noet ft=sh : bash
|
2013-03-26 13:18:20 +00:00
|
|
|
|
2015-02-17 19:46:21 +00:00
|
|
|
SCRIPT="${0#./}"
|
|
|
|
BASE_DIR="${SCRIPT%/*}"
|
2015-02-22 04:36:05 +00:00
|
|
|
WORKDIR="$PWD"
|
2015-02-17 19:46:21 +00:00
|
|
|
|
|
|
|
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
|
|
|
BASE_DIR="$WORKDIR"
|
|
|
|
else
|
|
|
|
if [[ "$0" != /* ]]; then
|
|
|
|
# Make the path absolute
|
|
|
|
BASE_DIR="$WORKDIR/$BASE_DIR"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2015-02-19 08:41:42 +00:00
|
|
|
# The iOS build rules have all been moved to libretro-build.sh
|
2015-02-17 19:46:21 +00:00
|
|
|
|
2015-02-21 07:31:40 +00:00
|
|
|
platform=ios ${BASE_DIR}/libretro-build.sh $@
|