swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Raw File
Tip revision: 8eaaad62f4eae7c6c52d253224897c221ac623ac authored by Axel Naumann on 14 November 2018, 06:54:11 UTC
Update ROOT version files to v6.15/02.
Tip revision: 8eaaad6
cl.sh
#! /bin/sh

# Simple interface to cl.exe, tansforming /cygdrive/... into "mixed" path.

args=

while [ "$1" != "" ]; do
   case "$1" in
   -I*) narg=`echo $1 | sed -e s/-I//`; args="$args -I`cygpath -m -- $narg`" ;;
   -c) args="$args -c "; shift; args="$args`cygpath -m -- $1`" ;;
   *) args="$args $1" ;;
   esac
   shift
done

cl.exe $args
stat=$?

if [ $stat -eq 126 ]; then
# cygwin causes spurious exit codes 126; just re-try.
   cl.exe $args
   stat=$?
fi

exit $stat
back to top