build/msys-perl-wrapper
author Justin Lebar <justin.lebar@gmail.com>
Fri, 27 Aug 2010 14:19:45 -0700
changeset 51604 f87dcd8ad8e8b766c589f5a4d3385ae4d3eec388
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 589306 - mozconfig* files shouldn't be hgignored. r=ted, a=npotb

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