diff options
author | michelou <michelou@epfl.ch> | 2005-09-09 15:40:36 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-09-09 15:40:36 +0000 |
commit | 2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04 (patch) | |
tree | 07873fd1c0af846250e087233477b2e5b99114d0 /setenv-sh.xsl | |
parent | 441a24642bf66cb660ccd19446ec9d2abae81b1e (diff) | |
download | scala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.tar.gz scala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.tar.bz2 scala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.zip |
- batch file for build nsc on Windows.
Diffstat (limited to 'setenv-sh.xsl')
-rw-r--r-- | setenv-sh.xsl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/setenv-sh.xsl b/setenv-sh.xsl new file mode 100644 index 0000000000..9421721e0a --- /dev/null +++ b/setenv-sh.xsl @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + <xsl:output method="text" indent="no" /> + + <xsl:template match="/"> +#!/bin/bash + <xsl:apply-templates /> + </xsl:template> + + <xsl:template match="property"> +export nsc_<xsl:value-of select="substring-after(@name,'nsc.')" />=<xsl:value-of select="@value"/> + </xsl:template> + +</xsl:stylesheet> |