Commit d39cd1dc authored by Arnaud Blanchard's avatar Arnaud Blanchard

Remove debug messages

parent dc5b9ecf
......@@ -16,20 +16,17 @@ usage()
echo "usage: run.sh <project dir> [args ...]" >&2
}
{ #Bracket to not change directory
[ $1 ] || { echo "Missing project directory."; usage; exit 1; }
[ $1 ] || { echo "Missing project directory."; usage; exit 1; }
cd $1;
project_dir="$PWD";
project_name=`basename $project_dir`;
cd -
cd - >/dev/null
cd `dirname $0`
blaar_dir="$PWD"
blaar_build_dir="${blaar_dir}_build"
echo $blaar_dir $project_dir
./compile.sh "$project_dir" "Release" "$project_name" >&2
[ $? ] || { echo "Fail compiling '$project_dir'" >&2; exit 2; }
......@@ -37,12 +34,11 @@ bin_dir="$blaar_build_dir/Release/bin"
shift #remove $0 i.e. run.sh
echo >&2
echo "Execute:" >&2
echo "========" >&2
echo "Execute $project_name" >&2
echo "================" >&2
set -x #display command line
$bin_dir/$project_name "$@"
exit $?
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment