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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user