build/msys-perl-wrapper
author Jon Coppeard <jcoppeard@mozilla.com>
Wed, 05 Aug 2015 17:54:02 +0100
changeset 522520 555061a4344c238d8e722cc096abf48b88f87e9f
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Add constructors to initialize array contents to a fill value

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