build/msys-perl-wrapper
author Ted Mielczarek <ted.mielczarek@gmail.com>
Mon, 16 Nov 2009 07:57:15 -0500
changeset 34902 827d8651799e65aeffd2f29253a514a836463256
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 94857 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
bustage fix from bug 462381

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