summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-13 09:14:21 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-13 09:14:21 +0200
commit4314841aa4772d98b186636bdbf34fcf48c74275 (patch)
tree5fdab05d16961737e4bc9c6cbf10c7eff130fdf4 /scripts
parent5308fab3e9e61bfe2601e1f2de31b074609d2080 (diff)
downloadvim-polyglot-4314841aa4772d98b186636bdbf34fcf48c74275.tar.gz
vim-polyglot-4314841aa4772d98b186636bdbf34fcf48c74275.zip
Fix build, closes #548
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build b/scripts/build
index 6d736e40..b100b80a 100755
--- a/scripts/build
+++ b/scripts/build
@@ -10,8 +10,6 @@ require 'tsort'
Dir.chdir(File.dirname(__dir__))
-Dir.mkdir('tmp') unless File.exists?('tmp')
-
BASE_URL = 'https://raw.githubusercontent.com/github/linguist/master'
def camelize(str)
@@ -768,6 +766,8 @@ if __FILE__ == $0
FileUtils.rm_rf("tmp")
end
+ Dir.mkdir('tmp') unless File.exists?('tmp')
+
packages, heuristics = load_data()
download(packages)
extract(packages)