httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1049716 - /httpd/site/trunk/tools/roll.sh
Date Wed, 15 Dec 2010 21:28:11 GMT
Author: rjung
Date: Wed Dec 15 21:28:11 2010
New Revision: 1049716

URL: http://svn.apache.org/viewvc?rev=1049716&view=rev
Log:
Support old and new expression parsers during
tarball rolling (file timestamp corrections for
generated file).

Can be simplified to only support the new one
once we are reasonable safe to not revert httpd
to the old one.

Modified:
    httpd/site/trunk/tools/roll.sh

Modified: httpd/site/trunk/tools/roll.sh
URL: http://svn.apache.org/viewvc/httpd/site/trunk/tools/roll.sh?rev=1049716&r1=1049715&r2=1049716&view=diff
==============================================================================
--- httpd/site/trunk/tools/roll.sh (original)
+++ httpd/site/trunk/tools/roll.sh Wed Dec 15 21:28:11 2010
@@ -45,9 +45,19 @@ find $dirname -name autom4te*.cache | xa
 
 echo ""
 echo "Fixup the timestamps preventing remake of generated files."
-touch $dirname/modules/ssl/ssl_expr_parse.c
-touch $dirname/modules/ssl/ssl_expr_parse.h
-touch $dirname/modules/ssl/ssl_expr_scan.c
+if test -f "${dirname}/modules/ssl/ssl_expr_parse.y"; then
+    echo "Found ssl expression parser"
+    touch $dirname/modules/ssl/ssl_expr_parse.c
+    touch $dirname/modules/ssl/ssl_expr_parse.h
+    touch $dirname/modules/ssl/ssl_expr_scan.c
+elif test -f "${dirname}/server/util_expr_parse.y"; then
+    echo "Found generic expression parser"
+    touch $dirname/server/util_expr_parse.c
+    touch $dirname/server/util_expr_parse.h
+    touch $dirname/server/util_expr_scan.c
+else
+    echo "Found no expression parser!"
+fi
 echo ""
 
 echo $split



Mime
View raw message