This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

nfs-server postinstall bugs


--- nfs-server-config.orig 2004-08-14 08:45:59.468041600 +0100
+++ nfs-server-config 2004-08-14 08:56:34.911764800 +0100
@@ -101,7 +101,9 @@
  fi
 fi
 
-if ! /bin/mount -m | /bin/grep -q ' -s .*"/"'; then
+if /bin/mount -m | /bin/grep -q ' -s .*"/"'; then
+  :
+else
     cat <<EOF
 
 mount(1) command did not return SYSTEM mount(s).
@@ -116,7 +118,7 @@
 utility. You can change user-specific Cygwin mount points to
 global mount points using the following command:
 
-    eval `mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'`
+    eval \`mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'\`
 
 You current mount -m  listing is:
 


You'd think the first change would be a no-op, right?

Well, with bash, you'd be right.
With ash, the script was malfunctioning.

Max.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]