Author: wade
Date: 2007-09-11 00:09:29 -0400 (Tue, 11 Sep 2007)
New Revision: 85618

Modified:
   trunk/mcs/tools/ChangeLog
   trunk/mcs/tools/Makefile
   trunk/mcs/tools/gensources.sh
   trunk/mcs/tools/removecomments.sh
Log:
2007-09-10  Wade Berrier  <[EMAIL PROTECTED]>

        * removecomments.sh: use `` instead of $() since it works on
        solaris' shell
        * gensources.sh: use /usr/bin/env for bash specific code

        * Makefile: include removecomments.sh in dist file



Modified: trunk/mcs/tools/ChangeLog
===================================================================
--- trunk/mcs/tools/ChangeLog   2007-09-11 01:13:12 UTC (rev 85617)
+++ trunk/mcs/tools/ChangeLog   2007-09-11 04:09:29 UTC (rev 85618)
@@ -1,3 +1,11 @@
+2007-09-10  Wade Berrier  <[EMAIL PROTECTED]>
+
+       * removecomments.sh: use `` instead of $() since it works on
+       solaris' shell
+       * gensources.sh: use /usr/bin/env for bash specific code
+
+       * Makefile: include removecomments.sh in dist file
+
 2007-09-04  Wade Berrier  <[EMAIL PROTECTED]>
 
        * removecomments.sh: New script to aid 'make dist'

Modified: trunk/mcs/tools/Makefile
===================================================================
--- trunk/mcs/tools/Makefile    2007-09-11 01:13:12 UTC (rev 85617)
+++ trunk/mcs/tools/Makefile    2007-09-11 04:09:29 UTC (rev 85618)
@@ -23,7 +23,8 @@
        scan-tests.pl                   \
        tinderbox/smtp.c                \
        tinderbox/tinderbox.sh          \
-       gensources.sh
+       gensources.sh                   \
+       removecomments.sh
 
 test-local run-test-local run-test-ondotnet-local all-local install-local 
uninstall-local:
        @:

Modified: trunk/mcs/tools/gensources.sh
===================================================================
--- trunk/mcs/tools/gensources.sh       2007-09-11 01:13:12 UTC (rev 85617)
+++ trunk/mcs/tools/gensources.sh       2007-09-11 04:09:29 UTC (rev 85618)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
 includefile=$1
 excludefile=$2

Modified: trunk/mcs/tools/removecomments.sh
===================================================================
--- trunk/mcs/tools/removecomments.sh   2007-09-11 01:13:12 UTC (rev 85617)
+++ trunk/mcs/tools/removecomments.sh   2007-09-11 04:09:29 UTC (rev 85618)
@@ -10,7 +10,7 @@
 for f in $source_files ; do
        IFS='
 
'
-       for f in $(cat $f) ; do
+       for f in `cat $f` ; do
                case $f in
                        \#*) ;;
                        *) echo $f ;;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to