aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorÉloi Rivard <azmeuk@gmail.com>2013-04-16 09:51:42 +0200
committerÉloi Rivard <azmeuk@gmail.com>2013-04-16 09:51:42 +0200
commit3400e5810c1a741a6d322f1ab71cfe3d15f865da (patch)
tree12bf51d3fe17d64cc76ff96e79c67731db1aa21d /tools
parentfa7a4cc43366577220336e191c068e6300c00f14 (diff)
* Added a warning to file_packager when an input file does not exist.
Diffstat (limited to 'tools')
-rw-r--r--tools/file_packager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py
index f1f1d5e3..e434e813 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -110,9 +110,13 @@ for arg in sys.argv[1:]:
elif in_preload:
if os.path.isfile(arg) or os.path.isdir(arg):
data_files.append({ 'name': arg, 'mode': 'preload' })
+ else:
+ print >> sys.stderr, 'Warning: ' + arg + ' does not exist, ignoring.'
elif in_embed:
if os.path.isfile(arg) or os.path.isdir(arg):
data_files.append({ 'name': arg, 'mode': 'embed' })
+ else:
+ print >> sys.stderr, 'Warning:' + arg + ' does not exist, ignoring.'
elif in_compress:
if in_compress == 1:
Compression.encoder = arg