maven: ensure proper removal of Windows files (#15920)

Windows files are `*.cmd`, not `*.bat` now.
This commit is contained in:
Indrajit Raychaudhuri 2017-07-23 11:14:07 -05:00 committed by ilovezfs
parent 86a6a840f9
commit dfe97ae91b

View file

@ -16,7 +16,7 @@ class Maven < Formula
def install
# Remove windows files
rm_f Dir["bin/*.bat"]
rm_f Dir["bin/*.cmd"]
# Fix the permissions on the global settings file.
chmod 0644, "conf/settings.xml"