beats4pi icon indicating copy to clipboard operation
beats4pi copied to clipboard

Wrong name in the tar file.

Open jermon opened this issue 4 years ago • 1 comments

In the produced tarfile the name of the directory contains x86 even in the package is built for arm7

Expected result

A tarfile named ex. metricbeat-6.8.7-linux-arm7.tar.gz should contain a dir metricbeat-6.8.7-linux-arm7

jermon avatar Apr 13 '20 11:04 jermon

I think the problem is here https://github.com/andig/beats4pi/blob/master/build.sh#L29 since we copy certain files from the x86 archive. Should probably get rid of the dirname entirely.

Would be happy to accept a PR!

andig avatar Apr 13 '20 18:04 andig