[csw-devel] SF.net SVN: gar:[11620] csw/mgar/pkg/apache2/trunk/files/build_cas_template
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Mon Nov 15 03:27:46 CET 2010
Revision: 11620
http://gar.svn.sourceforge.net/gar/?rev=11620&view=rev
Author: bdwalton
Date: 2010-11-15 02:27:45 +0000 (Mon, 15 Nov 2010)
Log Message:
-----------
apache2: ensure the build script sends stdout to stderr so the build CAS does not make user info statements into the file content
Modified Paths:
--------------
csw/mgar/pkg/apache2/trunk/files/build_cas_template
Modified: csw/mgar/pkg/apache2/trunk/files/build_cas_template
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/build_cas_template 2010-11-15 02:17:14 UTC (rev 11619)
+++ csw/mgar/pkg/apache2/trunk/files/build_cas_template 2010-11-15 02:27:45 UTC (rev 11620)
@@ -11,7 +11,7 @@
if [ "\$1" = install ]; then
if [ ! -f "\$CONF_FILE" ]; then
- echo "Installing \$CONF_FILE from CSW template."
+ echo "Installing \$CONF_FILE from CSW template." >&2
cp -p \$CONF_FILE.CSW \$CONF_FILE
perl -pi \
-e "s/#*ServerName.*www.example.com/ServerName \`hostname\`/;" \
@@ -25,10 +25,10 @@
chown root:bin \$CONF_FILE
chmod 644 \$CONF_FILE
else
- echo "Not updating \$CONF_FILE. It already exists."
+ echo "Not updating \$CONF_FILE. It already exists." >&2
if [ -n "\`grep mod_auth.so \$CONF_FILE\`" ]; then
echo "Updating the syntax to 2.2 format though..."
- \${PIR}/\$AP2_DIR/sbin/update20to22 \$CONF_FILE
+ \${PIR}/\$AP2_DIR/sbin/update20to22 \$CONF_FILE >&2
fi
fi
else
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