summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 5c2a1c76c4..f5a5928311 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -858,7 +858,10 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
858 # Disable pseudo as it may affect ssh, potentially causing it to hang. 858 # Disable pseudo as it may affect ssh, potentially causing it to hang.
859 cmd = 'export PSEUDO_DISABLED=1; ' + cmd 859 cmd = 'export PSEUDO_DISABLED=1; ' + cmd
860 860
861 logger.debug(1, "Running %s", cmd) 861 if workdir:
862 logger.debug(1, "Running '%s' in %s" % (cmd, workdir))
863 else:
864 logger.debug(1, "Running %s", cmd)
862 865
863 success = False 866 success = False
864 error_message = "" 867 error_message = ""