build/msys-perl-wrapper
author Justin Wood <Callek@gmail.com>
Mon, 29 Mar 2010 22:55:33 -0400
changeset 5254 bb54eb43ff45c98dd24ddf626e05493876fdfb53
parent 5207 f29f7dfd4b5a72701000a644c60a24d6327a1dbf
permissions -rw-r--r--
Bug 550657, Port |Bug 485409, Substitute windows-style paths in configure when building with pymake| to c-c. r+=KaiRo, sr+=Standard8

#!/bin/sh

# this file exists in c-c only for MOZILLA_1_9_2_BRANCH
# and is a mirror of the same file in mozilla-central (1.9.3)

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"