build/msys-perl-wrapper
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 13 Mar 2012 09:47:03 +0100
changeset 91516 409679237c31d11f7002fbc223b16582a9c74bd4
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted

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