build/msys-perl-wrapper
author Chris Double <chris.double@double.co.nz>
Thu, 19 Aug 2010 21:35:09 +1200
changeset 50877 4e274fd92b252d39439471618e255b232a1d3fff
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 98983 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 449141. Save media resources when doing 'Save As' on the page. r=roc,a=dbaron

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