Revision e2342c9e208736d90ad9d8dcab220c5e65aa4cc4 authored by Bevis Tseng on 13 May 2014, 09:20:09 UTC, committed by Bevis Tseng on 13 May 2014, 09:20:09 UTC
1 parent 805e7e2
Raw File
msys-perl-wrapper
#!/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"
back to top