CloverBootloader/Xcode/cpp_tests/.settings/compilation/gcc49-gcc-ar

25 lines
449 B
Plaintext
Raw Normal View History

2020-02-24 14:07:59 +01:00
#!/bin/bash
SCRIPT_ABS_FILENAME=`perl -e 'use Cwd "abs_path";print abs_path(shift)' "${BASH_SOURCE[0]}"`
SCRIPT_DIR=`dirname "$SCRIPT_ABS_FILENAME"`
#echo `pwd`
me=`basename "$0"`
#echo me=$me
name="${me##*-}"
#echo name=$name
prefix=${me%-$name}
#echo prefix=$prefix
source "$SCRIPT_DIR"/"$prefix"-path "$name"
ps_dir="$SCRIPT_DIR"/../compilation_project_specific
cmdArgs=()
cmdArgs=( "$bin_path" $@ )
echo ${cmdArgs[@]}
exec ${cmdArgs[@]}