Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

locale bash script overrides time argument #110

Open
j-eid opened this issue Nov 4, 2024 · 0 comments
Open

locale bash script overrides time argument #110

j-eid opened this issue Nov 4, 2024 · 0 comments

Comments

@j-eid
Copy link

j-eid commented Nov 4, 2024

I was wondering if there was a reason for removing the time option and writing in 0.0 if it's being passed as an attribute and evaluated at runtime.

"$bsdtar" -cf - $@ --format=mtree --options '!gname,!uname,!sha1,!nlink,!time' "@$package_path" | sed 's/$/ time=0.0/' | "$bsdtar" --gzip --options 'gzip:!timestamp' -cf "$out" -C "$tmp/" @-

Seems like this would be fine:

 "$bsdtar" -cf - $@ --format=mtree --options '!gname,!uname,!sha1,!nlink,!time' "@$package_path" |  sed 's/$/ time="'$time'"/' | "$bsdtar" --gzip --options 'gzip:!timestamp' -cf "$out" -C "$tmp/" @- 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant