build/msys-perl-wrapper
author Jan Horak <jhorak@redhat.com>
Mon, 17 Jun 2013 16:06:00 -0400
changeset 146844 f172342f18c219d3724ccd0afae8650a99dc3418
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 831688 - Enable MOZ_SERVICES_HEATLHREPORT in xulrunner. r=gps

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