Open fanfan70 opened 5 months ago
Hi there, glad I was able to help previously.
I have some follow-up questions:
LANGUAGE
set to? I tried LANGUAGE=fr_FR
and the script still prints "OK" among many other lines of debug output. The settings for all LC variables might also be helpful: printenv | grep LC
.tar --delete --null --verbatim-files-from --files-from='/tmp/tmplvgbnz0o/deletions.lst' --file '/tmp/example.tar'
manually and see what happens. Also, you could try listing /tmp/tmplvgbnz0o/deletions.lst
if it wasn't deleted and check whether it looks ok.tar --version
? The follow-up questions are unnecessary. The bug is obvious. English is hardcoded in the line with sed '/^tar: Exiting with failure/d; /^tar.*Not found in archive/d'
. You can fully ignore those warnings. What happens is: to avoid multiple versions of the same file existing in the TAR, the delete line, simply tries to remove all paths for files that later will be appended to the archive. The resulting warnings by GNU tar are filtered, which only works in English.
For another issue (https://github.com/mxmlnkn/ratarmount/issues/125), I've written a test script. Thank for the answer by the way! I've fixed it and now I see a problem linked to configured language: I use a french environment, in which I get this error (run without argument, see script below) while committing:
"non trouvé dans l'archive" means "not found in the archive" "Arrêt avec code d'échec à cause des erreurs précédentes" means "stop with error code because of previous errors"
When I run the same script (no argument too) after a "export LANGUAGE=en_US", I don't get the error.
Script :
Thank you!