aboutsummaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2013-03-03 19:02:15 +0000
committerMichael Elkins <melkins@tislabs.com>2013-03-03 19:02:15 +0000
commitea6f55db1a708eed77b60e6c1017c920c95f93ab (patch)
tree0d777c052bb265d9fe8051ce10756b269701a490 /buildtools
parent39ca5ab059be62b238d0310af6704e35c2dc2141 (diff)
move build-time generated configuration to local_settings.py and leave settings.py as a static file
svn path=/trunk/; revision=5096
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/subst-vars.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/buildtools/subst-vars.py b/buildtools/subst-vars.py
deleted file mode 100755
index 5083c2dd..00000000
--- a/buildtools/subst-vars.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-
-"""
-Copyright (C) 2011 SPARTA, Inc., dba Cobham Analytic Solutions
-
-Permission to use, copy, modify, and distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-"""
-
-
-import os, sys
-
-# pull out all AC_* environment variables into a dict to substitute in the input file
-d = {}
-for v in os.environ:
- if v.startswith('AC_'):
- d[v] = os.environ[v]
-
-sys.stdout.write(sys.stdin.read() % d)