After variable expansion, what was formerly a single word can now

contain multiple words, all of which may have to be joined with the
path of the extension directory.
(Sjoerd)
This commit is contained in:
Guido van Rossum 1998-05-06 14:38:30 +00:00
parent e10053b881
commit 4a114313a8

View File

@ -44,6 +44,7 @@ def select(e, mods, vars, mod, skipofiles):
if not w:
continue
w = expandvars(w, vars)
for w in string.split(w):
if skipofiles and w[-2:] == '.o':
continue
if w[0] != '-' and w[-2:] in ('.o', '.a'):