[Swift-commit] r7663 - SwiftApps/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Sun Mar 9 13:41:52 CDT 2014


Author: ketan
Date: 2014-03-09 13:41:52 -0500 (Sun, 09 Mar 2014)
New Revision: 7663

Modified:
   SwiftApps/cloud/docbuild
Log:
option to build to a named file

Modified: SwiftApps/cloud/docbuild
===================================================================
--- SwiftApps/cloud/docbuild	2014-03-09 18:39:43 UTC (rev 7662)
+++ SwiftApps/cloud/docbuild	2014-03-09 18:41:52 UTC (rev 7663)
@@ -1,3 +1,8 @@
 #!/bin/bash
 
-asciidoc -a toc -a toclevels=2  -a max-width=750px  -a textwidth=80 -o /home/ketan/public_html/cloudreadme.html README
+if [ -z $1 ] ; then
+
+    asciidoc -a toc -a toclevels=2  -a max-width=750px  -a textwidth=80 -o /home/ketan/public_html/cloudreadme.html README
+else
+    asciidoc -a toc -a toclevels=2  -a max-width=750px  -a textwidth=80 -o "$1" README
+fi    




More information about the Swift-commit mailing list