build/msys-perl-wrapper
author Steven Michaud <smichaud@pobox.com>
Tue, 10 May 2011 14:44:17 -0500
changeset 69271 fbe2374e7ea036cf0fde97a43c2e603cc8a472ac
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 94445 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 654725 - Changes in OS X 10.7 break our Wi-Fi monitor code, causing crashes. r=josh

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