build/msys-perl-wrapper
author Marco Bonardo <mbonardo@mozilla.com>
Thu, 28 Apr 2011 21:47:10 +0200
changeset 68766 5f97ac170bfaea43eb5cef7e05975c4edc5957d0
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 94484 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 638123 (followup) - Remove extraneous semicolon to make Linux happy.

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