libretro-super/libretro-build-qnx.sh

18 lines
321 B
Bash
Raw Normal View History

#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
2013-04-30 15:37:28 +00:00
2015-07-29 19:40:35 +00:00
SCRIPT="${0#./}"
BASE_DIR="${SCRIPT%/*}"
WORKDIR="$PWD"
2013-04-30 15:37:28 +00:00
2015-07-29 19:40:35 +00:00
if [ "$BASE_DIR" = "$SCRIPT" ]; then
BASE_DIR="$WORKDIR"
else
2015-07-29 19:40:35 +00:00
if [[ "$0" != /* ]]; then
# Make the path absolute
BASE_DIR="$WORKDIR/$BASE_DIR"
fi
fi
2015-07-29 19:40:35 +00:00
platform=qnx ${BASE_DIR}/libretro-build.sh $@