Added tmpl_vars util. Common vars that can be used in templates.
--HG-- extra : convert_revision : 68393e79e5f25d622d9142bf73b09b24ced28733
This commit is contained in:
@@ -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
5
utils/sh/tmpl_vars.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Common vars that can be used by templates.
|
||||
#
|
||||
|
||||
SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge"
|
||||
Reference in New Issue
Block a user