Remove deprecated old-args feature.

This commit is contained in:
Robert L. Bocchino Jr 2016-11-27 12:29:43 -08:00 committed by Avery Pennarun
commit 63f9dcb640
6 changed files with 2 additions and 24 deletions

View file

@ -141,12 +141,8 @@ class BuildJob:
close_on_exec(ffd, True)
self.f = os.fdopen(ffd, 'w+')
# this will run in the dofile's directory, so use only basenames here
if vars.OLD_ARGS:
arg1 = basename # target name (no extension)
arg2 = ext # extension (if any), including leading dot
else:
arg1 = basename + ext # target name (including extension)
arg2 = basename # target name (without extension)
arg1 = basename + ext # target name (including extension)
arg2 = basename # target name (without extension)
argv = ['sh', '-e',
dofile,
arg1,