Added tmpl_vars util. Common vars that can be used in templates.

--HG--
extra : convert_revision : 68393e79e5f25d622d9142bf73b09b24ced28733
This commit is contained in:
Juan RP
2008-12-15 07:27:38 +01:00
parent 5e1a3be905
commit 93f485a4e9
15 changed files with 19 additions and 24 deletions

View File

@@ -92,6 +92,7 @@ setup_tmpl()
if [ -f "$XBPS_TEMPLATESDIR/$pkg.tmpl" ]; then
if [ "$pkgname" != "$pkg" ]; then
. $XBPS_SHUTILSDIR/tmpl_vars.sh
. $XBPS_TEMPLATESDIR/$pkg.tmpl
fi
prepare_tmpl

5
utils/sh/tmpl_vars.sh Normal file
View File

@@ -0,0 +1,5 @@
#
# Common vars that can be used by templates.
#
SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge"