[csw-devel] SF.net SVN: gar:[11684] csw/mgar/pkg/apache2/branches/fs-rework/files/ build_cas_template

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Nov 22 02:59:24 CET 2010


Revision: 11684
          http://gar.svn.sourceforge.net/gar/?rev=11684&view=rev
Author:   bdwalton
Date:     2010-11-22 01:59:23 +0000 (Mon, 22 Nov 2010)

Log Message:
-----------
apache2/fs-rework: ensure echo statements in cas build scripts go to stderr, not stdout where they would be added to the files as content

Modified Paths:
--------------
    csw/mgar/pkg/apache2/branches/fs-rework/files/build_cas_template

Modified: csw/mgar/pkg/apache2/branches/fs-rework/files/build_cas_template
===================================================================
--- csw/mgar/pkg/apache2/branches/fs-rework/files/build_cas_template	2010-11-22 01:47:02 UTC (rev 11683)
+++ csw/mgar/pkg/apache2/branches/fs-rework/files/build_cas_template	2010-11-22 01:59:23 UTC (rev 11684)
@@ -14,9 +14,10 @@
 if [ "\$1" = install ]; then
    if [ -f "\$NEW_CONF_FILE" ]; then
       # existing 2.2.x install with migrated config.
-      echo "Doing nothing.  Config file \$NEW_CONF_FILE in place already."
+      echo "Doing nothing.  Config file \$NEW_CONF_FILE in place already." >&2
    elif [ -f "\$OLD_CONF_FILE" ]; then
       # migrate old config, ensure it's updated
+      echo "Importing old config file from \$OLD_CONF_FILE." >&2
       cp -p \$OLD_CONF_FILE \$NEW_CONF_FILE
       if [ -n "\`grep mod_auth.so \$NEW_CONF_FILE\`" ]; then
          echo "Updating the syntax to 2.2 format though..." >&2


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list