diff --git a/lib/codemirror/BUCK b/lib/codemirror/BUCK index 5c64335c2c..0f2d3131f7 100644 --- a/lib/codemirror/BUCK +++ b/lib/codemirror/BUCK @@ -16,7 +16,7 @@ genrule( ]), srcs = [genfile('codemirror-' + VERSION + '.zip')], deps = [ - ':codemirror__download_bin', + ':download', '//lib:LICENSE-codemirror', ], out = 'codemirror.jar', @@ -24,7 +24,7 @@ genrule( ) genrule( - name = 'codemirror__download_bin', + name = 'download', cmd = '${//tools:download_file}' + ' -o $OUT' + ' -u ' + URL + diff --git a/tools/download_all.py b/tools/download_all.py index 7be8e122fb..241d20b75c 100755 --- a/tools/download_all.py +++ b/tools/download_all.py @@ -18,7 +18,7 @@ import re from subprocess import check_call, CalledProcessError, Popen, PIPE MAIN = ['//tools/eclipse:classpath'] -PAT = re.compile(r'"(//.*?__download_[^"]*)" -> "//tools:download_file"') +PAT = re.compile(r'"(//.*?)" -> "//tools:download_file"') opts = OptionParser() opts.add_option('--src', action='store_true')