diff options
author | rangansen%netscape.com <devnull@localhost> | 2003-05-14 22:21:50 +0000 |
---|---|---|
committer | rangansen%netscape.com <devnull@localhost> | 2003-05-14 22:21:50 +0000 |
commit | 9a9b7a12bac435176c9f3f86389136297b306ea1 (patch) | |
tree | 066527dc020446c43306f029e2cc80b05b939ecf | |
parent | 6cb498e2fd06b1636f19ffe7cc3e38e1d2b6db75 (diff) | |
download | nspr-hg-ANGELON_MOZ12_N7_BASE.tar.gz |
Backing out last change - breaks MAC/LINUXPHT_20030522N7_WIN_FREEZEANGELON_MOZ12_N8_BASEANGELON_MOZ12_N7_BASE
-rwxr-xr-x | build/cygwin-wrapper | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/build/cygwin-wrapper b/build/cygwin-wrapper index 3da3c508..c510a7d7 100755 --- a/build/cygwin-wrapper +++ b/build/cygwin-wrapper @@ -7,17 +7,11 @@ shift if test -z "$prog"; then exit 0 fi -mountpoint=`mount -p | awk '{ if (/^\//) { print $1; exit } }'` -if test -z "$mountpoint"; then - print "Cannot determine cygwin mount points. Exiting" - exit 1 -fi -mountpoint=`echo $mountpoint | sed 's|/$||'` if test "$prog" = "-up"; then prog=$1 shift - args=`echo $* | sed -e "s|-I\([a-zA-Z]\):/|-I${mountpoint}/\1/|g;"` + args=`echo $* | sed -e 's|-I\(.\):|-I/cygdrive/\1|g;'` else - args=`echo $* | sed -e "s|${mountpoint}/\([a-zA-Z]\)/|\1:/|g;"` + args=`echo $* | sed -e 's|/cygdrive/\(.\)/|\1:/|g;'` fi exec $prog $args |