diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-09 23:00:41 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-09 23:00:41 +0200 |
commit | 3da600ac3070976142f81025b53dda44d99d44e4 (patch) | |
tree | bd80c8076c91e13c099f512acefbac59d2212995 /scripts | |
parent | 0d48ba92455548018105670980552e54930f60eb (diff) | |
download | vim-polyglot-3da600ac3070976142f81025b53dda44d99d44e4.tar.gz vim-polyglot-3da600ac3070976142f81025b53dda44d99d44e4.zip |
Relax previous commit a bit
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build b/scripts/build index 6ba4e43a..4783ed21 100755 --- a/scripts/build +++ b/scripts/build @@ -579,7 +579,7 @@ def generate_ftdetect(packages, heuristics) end for filename in filenames.sort - if filename.match?(/^\.[^\*\/]+$/) + if filename.match?(/^\.[^\/]+[^\*]$/) filename = "{.,}" + filename[1..-1] end if filename[-1] == "*" |