source: common/kernfs.xsl@ 4dfe8f9

ablfs-more trunk
Last change on this file since 4dfe8f9 was 87eb9e9, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Make the kernel filesystem scriptlets executable

This is so that they can be run from the main Makefile, instead
of having to edit them to put them inside the Makefile.

  • Property mode set to 100644
File size: 682 bytes
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<xsl:stylesheet
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 version="1.0">
6
7 <xsl:output method="text"/>
8
9 <xsl:template match="/">
10 <xsl:text>#!/bin/bash
11</xsl:text>
12 <xsl:apply-templates select="//userinput[contains(string(),'--bind') or
13 contains(string(),'/proc') or
14 contains(string(),'readlink') or
15 contains(string(),'-Rv')]"/>
16 </xsl:template>
17
18 <xsl:template match="userinput">
19 <xsl:apply-templates/>
20 <xsl:text>
21</xsl:text>
22 </xsl:template>
23
24</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.