build/msys-perl-wrapper
author Oleg Romashin <romaxa@gmail.com>
Tue, 18 Oct 2011 15:28:20 -0400
changeset 78908 304ce011f8343bc6c015122ea04402acf3a53992
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
permissions -rw-r--r--
Bug 693930 - Fennec keeps viewport ThebesLayers alive for background tabs. r=roc a=asa

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