Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37517340
en ru br
ALT Linux repos
S:2.0.25-alt1

Group :: Development/Other
RPM: waf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: waf-2.0.12-python3-build.patch
Download


diff --git a/waflib/Scripting.py b/waflib/Scripting.py
index 749d4f2e..c6b120cb 100644
--- a/waflib/Scripting.py
+++ b/waflib/Scripting.py
@@ -110,9 +110,8 @@ def waf_entry_point(current_directory, version, wafdir):
 					Context.out_dir = env.out_dir
 					break
 
-		if not Context.run_dir:
-			if Context.WSCRIPT_FILE in lst:
-				Context.run_dir = cur
+		if Context.WSCRIPT_FILE in lst:
+			Context.run_dir = cur
 
 		next = os.path.dirname(cur)
 		if next == cur:
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin