You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wanting to use sbt-native-packager on FreeBSD (10.2). The base-installation of tar in this version of FreeBSD lacks the --force-local option. I have gnu's tar, which has the --force-local option, installed on the machine, but it is named gtar rather than tar.
It seems that both the name of the tar executable and the --force-local option are hard-coded in the sbt-native-packager source code. On my FreeBSD machine, invoking the universal:packageZipTarball task fails with a complaint about the --force-local option.
Is there any simple work-around of this issue that does not involve renaming the commands on my operating system? If not, is the ability to tell sbt-native-packager to refrain from including the --force-local option when invoking tar, or changing the name of the tar executable a feature that might eventually find its way into this project?
The text was updated successfully, but these errors were encountered:
At this point there's no easy way to change the commands in sbt-native-packager. If you want to change this behaviour in sbt-native-packager you will have to override the task. I recommend aliasing your gtar command to tar. If this is not acceptable for you, please provide a pull request. If you need any help, just ask.
I am wanting to use
sbt-native-packager
on FreeBSD (10.2). The base-installation oftar
in this version of FreeBSD lacks the--force-local
option. I have gnu's tar, which has the--force-local
option, installed on the machine, but it is namedgtar
rather thantar
.It seems that both the name of the tar executable and the
--force-local
option are hard-coded in thesbt-native-packager
source code. On my FreeBSD machine, invoking theuniversal:packageZipTarball
task fails with a complaint about the--force-local
option.Is there any simple work-around of this issue that does not involve renaming the commands on my operating system? If not, is the ability to tell
sbt-native-packager
to refrain from including the--force-local
option when invoking tar, or changing the name of the tar executable a feature that might eventually find its way into this project?The text was updated successfully, but these errors were encountered: