build/msys-perl-wrapper
author Joey Armstrong <joey@mozilla.com>
Mon, 13 May 2013 16:24:07 -0400
changeset 144169 2bf6dcf8c74a99046c2193291c2e6f421f705030
parent 98983 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal

#!/bin/sh
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


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"