[med-svn] r4828 - trunk/community/infrastructure/scripts

Charles Plessy plessy at alioth.debian.org
Sun May 23 14:29:43 UTC 2010


Author: plessy
Date: 2010-05-23 14:29:35 +0000 (Sun, 23 May 2010)
New Revision: 4828

Modified:
   trunk/community/infrastructure/scripts/make-policy
Log:
Simplified, and switched the output to the htdocs directory.


Modified: trunk/community/infrastructure/scripts/make-policy
===================================================================
--- trunk/community/infrastructure/scripts/make-policy	2010-05-23 14:25:07 UTC (rev 4827)
+++ trunk/community/infrastructure/scripts/make-policy	2010-05-23 14:29:35 UTC (rev 4828)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh -e
 BASE=/home/groups/debian-med
 DOCS=$BASE/htdocs/docs
 
@@ -10,6 +10,4 @@
     -e "s/@DATE@/`date -R`/" \
         -e "s/@AUTHOR@/$AUTH/g" -i $DOCS/policy.xml
 
-xsltproc --output $BASE/static/docs/policy.html \
-/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl \
-$DOCS/policy.xml 2>/dev/null
+xsltproc --output $DOCS/policy.html $DOCS/policy.xml




More information about the debian-med-commit mailing list