libretro-super/libretro-build-ps3.sh
twinaphex ef5dabea4e (PS3) Start making libretro-build-ps3.sh work with new rules -
note - doesn't respect COMPILER_TARGET_ALT yet
2015-07-11 04:21:29 +02:00

20 lines
385 B
Bash
Executable File

#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
SCRIPT="${0#./}"
BASE_DIR="${SCRIPT%/*}"
WORKDIR="$PWD"
if [ "$BASE_DIR" = "$SCRIPT" ]; then
BASE_DIR="$WORKDIR"
else
if [[ "$0" != /* ]]; then
# Make the path absolute
BASE_DIR="$WORKDIR/$BASE_DIR"
fi
fi
# The PS3 build rules have all been moved to libretro-build.sh
platform=ps3 ${BASE_DIR}/libretro-build.sh $@