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
If which is unavailable in the $PATH then lrztar fails with a confusing error message:
lrztar: no tar in your path
This is caused by this line assuming that which will always be available. This is not the case in some cases, for example in archlinux/base Docker image and caused some confusion before I realized what is going on.
The simplest fix would most likely be to check if which can be executed just before those checks, or just trying to run those programs directly for example by executing tar --version and so on.
The text was updated successfully, but these errors were encountered:
Perhaps, just use tar -I | --use-compress-program= lrzip ... This works rather well. Also you can embed any options you want or use an lrzip.conf file to use various options. lrztar has some issues with some options and as a shell file is pretty complex.
If
which
is unavailable in the$PATH
thenlrztar
fails with a confusing error message:This is caused by this line assuming that
which
will always be available. This is not the case in some cases, for example inarchlinux/base
Docker image and caused some confusion before I realized what is going on.The simplest fix would most likely be to check if which can be executed just before those checks, or just trying to run those programs directly for example by executing
tar --version
and so on.The text was updated successfully, but these errors were encountered: