summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseawood%netscape.com <devnull@localhost>2003-04-02 23:22:38 +0000
committerseawood%netscape.com <devnull@localhost>2003-04-02 23:22:38 +0000
commit5a946ac25262689ebc059ce1b5689740f0271ee3 (patch)
tree89217e69d50b29821c8a8b981c3892035eaf604f
parenteea774bf1515b531a0473f91b03480da9e9a7de9 (diff)
downloadnspr-hg-5a946ac25262689ebc059ce1b5689740f0271ee3.tar.gz
Third time's a charge.
Thanks to danm@netscape.com for the patch. Bug #158920
-rwxr-xr-xbuild/cygwin-wrapper2
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