build/msys-perl-wrapper
author Marco Bonardo <mbonardo@mozilla.com>
Tue, 13 Oct 2009 16:53:27 +0200
changeset 33797 351064799c7745d139852a79663fb74403371a1d
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 98983 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Backout Bug 462381 due to Mac build bustage

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