build/msys-perl-wrapper
author Ehsan Akhgari <ehsan@mozilla.com>
Fri, 02 Sep 2011 09:05:37 -0400
changeset 77479 fd3535f606a9bae58bd75e8eebdf51071a7e91c0
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Keep changeset 11247af82311 backed out on the reverted tree

#!/bin/sh

args=""

for i in "${@}"
do
    case "$i" in
    -I?:/*)
        i="$(echo "${i}" | sed -e 's|^-I\(.\):/|-I/\1/|')"
	;;
    esac

    args="${args} '${i}'"
done

eval "exec perl $args"