[Tizen] Add BuildTools 2.1.0-rc1-02804-05
[platform/upstream/coreclr.git] / Tools / dotnetcli / sdk / 2.1.2 / Roslyn / bincore / RunCsc
1 #!/bin/sh
2
3 set -e
4 set -u
5
6 THISDIR=$(dirname $0)
7
8 # The expression ${VAR:-TEXT} expands to:
9 #  If VAR is null or empty => TEXT
10 #  If VAR is non-empty => ${VAR}
11 # So: If DOTNET_HOST_PATH is set, use it, otherwise use unqualified dotnet
12 HOST_PATH=${DOTNET_HOST_PATH:-dotnet}
13
14 exec "${HOST_PATH}" "$THISDIR/csc.dll" "$@"