diff options
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index d74f252ec1..195f432810 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -314,7 +314,7 @@ class BaseConfig(object): | |||
314 | else: | 314 | else: |
315 | raise Exception("Can't find FSTYPE from: %s" % p) | 315 | raise Exception("Can't find FSTYPE from: %s" % p) |
316 | 316 | ||
317 | elif os.path.isdir(p) or re.search(':', arg) and re.search('/', arg): | 317 | elif os.path.isdir(p) or re.search(':', p) and re.search('/', p): |
318 | if self.is_deploy_dir_image(p): | 318 | if self.is_deploy_dir_image(p): |
319 | logger.info('DEPLOY_DIR_IMAGE: %s' % p) | 319 | logger.info('DEPLOY_DIR_IMAGE: %s' % p) |
320 | self.set("DEPLOY_DIR_IMAGE", p) | 320 | self.set("DEPLOY_DIR_IMAGE", p) |