build/msys-perl-wrapper
author Dave Townsend <dtownsend@oxymoronical.com>
Wed, 23 Mar 2011 10:28:18 -0700
changeset 63553 5f420b83c3fc2c56eb5445992570f5483995c3dd
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 639090: Once you've restarted into safe mode from the menu you cannot restart into normal mode. r=bsmedberg

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