build/msys-perl-wrapper
author Blake Kaplan <mrbkap@gmail.com>
Mon, 20 Feb 2012 13:01:53 +0100
changeset 88711 64d8bba7047f004dc6acbf4a7025fd04e6b71b88
parent 32951 1c4751f81b1d5665ece3d21c5862b16973897ae4
child 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 727690 - Kill any existing connections on startup so we can successfully reconnect after we've been killed. r=gal

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