Fail for missing resource files / scripts.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1692 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
eebe2978a1
commit
3928751bf5
|
|
@ -81,6 +81,8 @@
|
|||
<xsl:with-param name="file" select="$file.name" />
|
||||
</xsl:call-template>
|
||||
</xsl:variable>
|
||||
<available property="is.{$short.name}.present" file="{$file.name}"/>
|
||||
<fail message="File {$file.name} not found" unless="is.{$short.name}.present" />
|
||||
<delete file="{concat($target.dir,'/',$short.name)}" />
|
||||
<symlink link="{concat($target.dir,'/',$short.name)}" resource="{$full.path}" overwrite="true" />
|
||||
</xsl:template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue