build/msys-perl-wrapper
author Chris AtLee <catlee@mozilla.com>
Mon, 14 May 2012 12:04:37 -0400
changeset 98068 a0cca6997af4cc4ce62dafe1260b7dae5231e891
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 753132: Update mozconfig for doing 32-bit builds on 64-bit machines. r=ted

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