summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/scriptutils.py')
-rw-r--r--scripts/lib/scriptutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/scriptutils.py b/scripts/lib/scriptutils.py
index 27d82b62b8..42337830eb 100644
--- a/scripts/lib/scriptutils.py
+++ b/scripts/lib/scriptutils.py
@@ -93,7 +93,7 @@ def fetch_uri(d, uri, destdir, srcrev=None):
93 fetcher.download() 93 fetcher.download()
94 for u in fetcher.ud: 94 for u in fetcher.ud:
95 ud = fetcher.ud[u] 95 ud = fetcher.ud[u]
96 if ud.localpath.rstrip(os.sep) == localdata.getVar('DL_DIR', True).rstrip(os.sep): 96 if ud.localpath.rstrip(os.sep) == localdata.getVar('DL_DIR').rstrip(os.sep):
97 raise Exception('Local path is download directory - please check that the URI "%s" is correct' % uri) 97 raise Exception('Local path is download directory - please check that the URI "%s" is correct' % uri)
98 fetcher.unpack(destdir) 98 fetcher.unpack(destdir)
99 for u in fetcher.ud: 99 for u in fetcher.ud: