Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzuo0621 committed Jun 30, 2023
1 parent c740f83 commit a8f8666
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion locale/locale.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ def _impl(ctx):
],
command = """
set -o pipefail -o errexit -o nounset
ar -x "$1" data.tar.xz
tmp=$(mktemp -d)
tar -xf "$1" -C "$tmp" ./usr/lib/locale/C.UTF-8 ./usr/share/doc/libc-bin/copyright
tar -xf data.tar.xz -C "$tmp" ./usr/lib/locale/C.UTF-8 ./usr/share/doc/libc-bin/copyright
rm data.tar.xz
cp -r "$tmp/usr/lib/locale/C.UTF-8/." $2
mv "$tmp/usr/share/doc/libc-bin/copyright" $3
""",
Expand Down

0 comments on commit a8f8666

Please sign in to comment.