diff options
Diffstat (limited to 'o3d/scons')
-rw-r--r-- | o3d/scons | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/o3d/scons b/o3d/scons new file mode 100644 index 0000000..ff8f01a --- /dev/null +++ b/o3d/scons @@ -0,0 +1,17 @@ +#!/bin/bash +# @@REWRITE(insert sh-copyright) +# @@REWRITE(delete-start) +# Copyright 2009 Google Inc. All Rights Reserved. +# Author: piman@google.com (Antoine Labour) +# @@REWRITE(delete-end) + +readonly SCRIPT_DIR="$(dirname "$0")" +readonly SCRIPT_DIR_ABS="$(cd "$SCRIPT_DIR" ; pwd)" + +# Use the batch file as an entry point if on cygwin. +if [ "$OSTYPE" = "cygwin" ]; then + "$SCRIPT_DIR_ABS/scons.bat" "$@" +else + "$SCRIPT_DIR_ABS/../third_party/scons/scons.py" -f main.scons "$@" +fi + |