build/msys-perl-wrapper
author Joel Maher <jmaher@mozilla.com>
Thu, 22 Mar 2012 11:19:57 -0400
changeset 91301 e5fc0c1f7adfdbd73d46507ca74f628aad8d20c9
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 95919 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 712643 - land Marionette on m-c. r=mossop,robcee

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