cygbash.sh 232 Bytes
Newer Older
1 2 3 4 5
#!/bin/bash

# This allows a pathless Cygwin bash to bootstrap its way into finding
# a compiler:

6
export PATH="/usr/local/bin:/usr/bin:/bin:$PATH"
7 8

cd "$( dirname "${BASH_SOURCE[0]}" )"
9 10
export CHERE_INVOKING=1
. /etc/profile
11 12

"$@"