updates for less shelly behavior
[feisty_meow.git] / scripts / generator / produce_feisty_meow.sh
index 007bee3f0075b8996c37b9b20a7a0f3f85733c6e..3985f0957d7a6336e74bc80bf982f4b13f48d662 100644 (file)
@@ -88,7 +88,7 @@ function update_system_helper_header()
   fi
 
   # set the cygwin root path if we're on cygwin.
-  whichable cygpath
+  whichable cygpath &>/dev/null
   if [ $? -eq 0 ]; then
     # found cygpath, so run it now to get the dossy path of the root ('/' folder).
     found_root="$(cygpath -w -m /)"
@@ -96,17 +96,17 @@ function update_system_helper_header()
       echo "Failure to find virtual Unix root folder with cygpath."
       exit 1322
     fi
-echo "found root as '$found_root'"
+#echo "found root as '$found_root'"
     # translate any backslashes to forward thinking slashes.    
     found_root="$(echo $found_root | tr '\\' '/')"
-echo "processed root is now: '$found_root'"
+#echo "processed root is now: '$found_root'"
     # edit the entry in place to correct the default path.
     sed -i \
         -e "s% *#define FEISTY_MEOW_VIRTUAL_UNIX_ROOT \".*$%#define FEISTY_MEOW_VIRTUAL_UNIX_ROOT \"$found_root\"%" \
-        "$CLAM_BINARIES/paths.ini" 
+        "$FEISTY_MEOW_BINARIES/system_helper.h"
     exit_on_error "updating system_helper header in $FEISTY_MEOW_BINARIES"
-echo "system helper file now has:"
-cat "$FEISTY_MEOW_BINARIES/system_helper.h"
+#echo "system helper file now has:"
+#cat "$FEISTY_MEOW_BINARIES/system_helper.h"
   fi
 }