Third time's a charge.

Thanks to danm@netscape.com for the patch.
Bug #158920


git-svn-id: svn://10.0.0.236/trunk@140607 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com
2003-04-02 23:22:41 +00:00
parent 70d52b3866
commit 0c8ca9d1e0
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -4,7 +4,7 @@
my $cygwin_mountprefix = "";
if ($^O eq "cygwin") {
$cygwin_mountprefix = `mount -p | awk '{ if (/^\//) print $1}' | head -1`;
$cygwin_mountprefix = `mount -p | awk '{ if (/^\//) { print $1; exit } }'`;
} else {
# we'll be pulling in some stuff from the script directory
require FindBin;