aboutsummaryrefslogtreecommitdiff
path: root/tools/file_packager.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-06 10:20:11 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-06 10:20:11 -0700
commitca19fbd11b665e14cc0759666380ac85c71c70dc (patch)
treecc4126f828a8f978fa98db8a13499c8c7ff9a970 /tools/file_packager.py
parent03f188018eb4f6e78eab21bb3253c7272dd4f120 (diff)
add more output in file packager error
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 136da609..1a9d925b 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -206,7 +206,7 @@ for file_ in data_files:
abspath = os.path.abspath(path)
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
+ print >> sys.stderr, 'Error: Embedding "%s" which is below the current directory "%s". This is invalid since the current directory becomes the root that the generated code will see' % (path, curr_abspath)
sys.exit(1)
file_['dstpath'] = abspath[len(curr_abspath)+1:]
if os.path.isabs(path):