Open Mister-X- opened 9 years ago
Sorry, I've been meaning to purge the pkg/ directory of unused things. We dont' use pkg/build.sh anymore.
The code for this is in rakelib/artifacts.rake, I think
Checked on this tonight to confirm if it is still occurring, and it is:
% rpm2cpio logstash-5.3.2.rpm | cpio -it | grep usr/share/logstash/bin/.*bat
./usr/share/logstash/bin/logstash-plugin.bat
./usr/share/logstash/bin/logstash.bat
./usr/share/logstash/bin/setup.bat
I noticed on my Linux system, when using the package that it is also installing .bat files (for Windows) along with the bash scripts to run the script.
Here is a patch that should take care of removing them before building the package (untested):