[Xorp-hackers] [PATCH 7/9] xorp: SConstruct: Create subdir $BUILDDIR/etc/templates
igorm at etf.rs
igorm at etf.rs
Mon Feb 6 09:00:35 PST 2012
From: Igor Maravic <igorm at etf.rs>
Creates subdir $BUILDDIR/etc/templates for holding template files.
Signed-off-by: Igor Maravic <igorm at etf.rs>
---
xorp/SConstruct | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/xorp/SConstruct b/xorp/SConstruct
index ef1387d..aae2e34 100644
--- a/xorp/SConstruct
+++ b/xorp/SConstruct
@@ -1029,6 +1029,13 @@ if env['rtld_origin']:
except:
pass
env['xorp_alias_tooldir'] = xorp_alias_tooldir
+ #Make subdir $BUILDDIR/etc/templates for holding template files
+ xorp_alias_templatedir = os.path.join(builddir, 'etc/templates')
+ try:
+ Execute(Mkdir(xorp_alias_templatedir))
+ except:
+ pass
+ env['xorp_alias_templatedir'] = xorp_alias_templatedir
if not fnmatch.fnmatch(host_os, 'mingw32*'):
--
1.7.5.4
More information about the Xorp-hackers
mailing list