aboutsummaryrefslogtreecommitdiff
path: root/tools/file_packager.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r--tools/file_packager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py
index 0fa6a529..0097c473 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -203,7 +203,7 @@ curr_abspath = os.path.abspath(os.getcwd())
for file_ in data_files:
path = file_['dstpath']
abspath = os.path.abspath(path)
- print >> sys.stderr, path, abspath, curr_abspath
+ if DEBUG: print >> sys.stderr, path, abspath, curr_abspath
if not abspath.startswith(curr_abspath):
print >> sys.stderr, 'Error: Embedding "%s" which is below the current directory. This is invalid since the current directory becomes the root that the generated code will see' % path
sys.exit(1)