summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-publish-sdk5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/oe-publish-sdk b/scripts/oe-publish-sdk
index 2b6e9bc21c..992de19955 100755
--- a/scripts/oe-publish-sdk
+++ b/scripts/oe-publish-sdk
@@ -50,7 +50,10 @@ def publish(args):
50 50
51 # Ensure the SDK exists 51 # Ensure the SDK exists
52 if not os.path.exists(target_sdk): 52 if not os.path.exists(target_sdk):
53 logger.error("%s doesn't exist" % target_sdk) 53 logger.error("Specified SDK %s doesn't exist" % target_sdk)
54 return -1
55 if os.path.isdir(target_sdk):
56 logger.error("%s is a directory - expected path to SDK installer file" % target_sdk)
54 return -1 57 return -1
55 58
56 if ':' in destination: 59 if ':' in destination: