fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
25.26k stars 1.4k forks source link

Fix tar flags (and filename) on OpenBSD #5212

Closed sdassow closed 2 weeks ago

sdassow commented 1 month ago

This PR addresses #5195 and makes sure the compression is supported by tar in the base system, as well as using the corresponding file name.

Without this patch:

$ fyne package --os openbsd --release
failed to create archive with tar: tar: unknown option -- J
usage: tar {crtux}[014578befHhjLmNOoPpqsvwXZz]
           [blocking-factor | archive | replstr] [-C directory] [-I file]
           [file ...]
       tar {-crtux} [-014578eHhjLmNOoPpqvwXZz] [-b blocking-factor]
           [-C directory] [-f archive] [-I file] [-s replstr] [file ...]
coveralls commented 1 month ago

Coverage Status

coverage: 59.953% (-0.008%) from 59.961% when pulling b42e83c4276f63cca769896624e9b092efd3a30f on sdassow:fix-tar-on-openbsd into de361f6407a848c66ff7e8bf8e81e0833a63c85d on fyne-io:develop.