Update buck
$TMP, $DEPS, $SRCS, $OUT are no longer supplied by Buck in the environment unless they appear in the command line. Pass $TMP where it was assumed to be magically supplied. This allows steps to continue to use buck-out/gen/ for temporary storage instead of polluting the system /tmp. Change-Id: Iea8380e5f93fa16ec77457eb76404832bde93a39
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
from __future__ import print_function
|
||||
|
||||
from multiprocessing import cpu_count
|
||||
from os import environ, makedirs, mkdir, path
|
||||
from os import makedirs, mkdir, path
|
||||
from subprocess import Popen, PIPE
|
||||
from sys import argv, stderr
|
||||
|
||||
cp, opt, end, TMP = [], [], False, environ['TMP']
|
||||
module, outzip = argv[1], argv[2]
|
||||
cp, opt, end = [], [], False
|
||||
module, TMP, outzip = argv[1], argv[2], argv[3]
|
||||
|
||||
for a in argv[3:]:
|
||||
for a in argv[4:]:
|
||||
if end:
|
||||
if a.endswith('.jar'):
|
||||
cp.append(path.expandvars(a))
|
||||
|
||||
Reference in New Issue
Block a user