build/msys-perl-wrapper
author David Anderson <danderson@mozilla.com>
Wed, 05 Oct 2011 18:37:11 -0700
changeset 105273 cad26d2fb5af799dfe030fd2a8948d617eac2f52
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 94484 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Backout merge.

#!/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"