build/msys-perl-wrapper
author Jonas Sicking <jonas@sicking.cc>
Fri, 20 Aug 2010 11:08:43 -0700
changeset 51034 4192ba38ebee43f3f76c31d492ae0f58e07e9d89
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Backout bugs 586754, 574189, 584611 due to orange. a=backout

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