summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/mic/utils/fs_related.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lib/mic/utils/fs_related.py b/scripts/lib/mic/utils/fs_related.py
index 61617353eb..dd420e88dc 100644
--- a/scripts/lib/mic/utils/fs_related.py
+++ b/scripts/lib/mic/utils/fs_related.py
@@ -57,7 +57,10 @@ def find_binary_path(binary):
bin_path = "%s/%s" % (path, binary)
if os.path.exists(bin_path):
return bin_path
- raise CreatorError("Command '%s' is not available." % binary)
+
+ print "External command '%s' not found, exiting." % binary
+ print " (Please install '%s' on your host system)" % binary
+ sys.exit(1)
def makedirs(dirname):
"""A version of os.makedirs() that doesn't throw an