diff options
-rwxr-xr-x | scripts/oe-publish-sdk | 5 |
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): # Ensure the SDK exists if not os.path.exists(target_sdk): - logger.error("%s doesn't exist" % target_sdk) + logger.error("Specified SDK %s doesn't exist" % target_sdk) + return -1 + if os.path.isdir(target_sdk): + logger.error("%s is a directory - expected path to SDK installer file" % target_sdk) return -1 if ':' in destination: |