phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mujt...@apache.org
Subject svn commit: r1565914 - /incubator/phoenix/site/source/src/site/bin/merge.sh
Date Sat, 08 Feb 2014 04:25:56 GMT
Author: mujtaba
Date: Sat Feb  8 04:25:55 2014
New Revision: 1565914

URL: http://svn.apache.org/r1565914
Log:
Fix site build failure when no source file is modified

Modified:
    incubator/phoenix/site/source/src/site/bin/merge.sh

Modified: incubator/phoenix/site/source/src/site/bin/merge.sh
URL: http://svn.apache.org/viewvc/incubator/phoenix/site/source/src/site/bin/merge.sh?rev=1565914&r1=1565913&r2=1565914&view=diff
==============================================================================
--- incubator/phoenix/site/source/src/site/bin/merge.sh (original)
+++ incubator/phoenix/site/source/src/site/bin/merge.sh Sat Feb  8 04:25:55 2014
@@ -7,5 +7,6 @@ java -jar merge.jar $DOC_SRC/functions.h
 java -jar merge.jar $DOC_SRC/datatypes.html $SITE_TARGET/language/datatypes.html
 cd $SITE_TARGET
 
-grep -rl class=\"nav-collapse\" . | xargs sed -i 's/class=\"nav-collapse\"/class=\"nav-collapse
collapse\"/g';grep -rl class=\"active\" . | xargs sed -i 's/class=\"active\"/class=\"divider\"/g'
-grep -rl "dropdown active" . | xargs sed -i 's/dropdown active/dropdown/g'
+find -name "*.html" | xargs sed -i 's/class=\"nav-collapse\"/class=\"nav-collapse collapse\"/g'
+find -name "*.html" | xargs sed -i 's/class=\"active\"/class=\"divider\"/g'
+find -name "*.html" | xargs sed -i 's/dropdown active/dropdown/g'



Mime
View raw message