diff options
author | seawood%netscape.com <devnull@localhost> | 2003-04-02 23:22:38 +0000 |
---|---|---|
committer | seawood%netscape.com <devnull@localhost> | 2003-04-02 23:22:38 +0000 |
commit | 5a946ac25262689ebc059ce1b5689740f0271ee3 (patch) | |
tree | 89217e69d50b29821c8a8b981c3892035eaf604f | |
parent | eea774bf1515b531a0473f91b03480da9e9a7de9 (diff) | |
download | nspr-hg-5a946ac25262689ebc059ce1b5689740f0271ee3.tar.gz |
Third time's a charge.
Thanks to danm@netscape.com for the patch.
Bug #158920
-rwxr-xr-x | build/cygwin-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cygwin-wrapper b/build/cygwin-wrapper index e716c0dc..3da3c508 100755 --- a/build/cygwin-wrapper +++ b/build/cygwin-wrapper @@ -7,7 +7,7 @@ shift if test -z "$prog"; then exit 0 fi -mountpoint=`mount -p | awk '{ if (/^\//) print $1 }' | head -1` +mountpoint=`mount -p | awk '{ if (/^\//) { print $1; exit } }'` if test -z "$mountpoint"; then print "Cannot determine cygwin mount points. Exiting" exit 1 |