build/msys-perl-wrapper
author Armen Zambrano Gasparnian <armenzg@mozilla.com>
Fri, 18 Dec 2015 10:02:01 -0500
changeset 277017 925963c25a513ee5014eb29ec4dfb260c14116ad
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 1228632 - Fix Linux 64 mochitest-other definition for TC jobs. DONTBUILD. r=jmaher

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