Remove ln -t flag, not supported on Mac OS X

Mac OS's command line is based on BSD, and the BSD variant of the ln
command does not have the -t option: [1].

* [1] http://www.freebsd.org/cgi/man.cgi?ln

Change-Id: Ib2ef8dff9429055f227c34dae5c19c20a019cd1f
This commit is contained in:
Shawn Pearce 2016-04-13 23:51:19 -07:00 committed by David Ostrovsky
parent c8a2ed9c6c
commit fd19f243e4

View File

@ -145,8 +145,7 @@ def vulcanize(
name = '%s__vulcanized' % name,
cmd = ' '.join([
'unzip', '-qd', '$TMP', '$(location %s)' % components,
'&&', 'rm', '-rf', '$SRCDIR/bower_components',
'&&', 'ln', '-s', '-f', '-t', '$SRCDIR', '$TMP/bower_components',
'&&', 'ln', '-s', '-f', '$TMP/bower_components', '.',
'&&', run_npm_binary('//lib/js:vulcanize')
] + VULCANIZE_FLAGS + extra_flags + [
'--out-html', '$OUT',