summaryrefslogtreecommitdiff
path: root/deploy/cross-build.sh
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-23 11:54:30 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-23 11:54:30 +0200
commit16ca0a48288005ea643456f5f6563355235a5839 (patch)
tree3bcdbc6e3e9df938956892b4e37c5c1e3704ff9d /deploy/cross-build.sh
parent8dc2e7d2f11aee4e70c3675e4ba6dd255a47e0e4 (diff)
downloadbokf-16ca0a48288005ea643456f5f6563355235a5839.tar.gz
bokf-16ca0a48288005ea643456f5f6563355235a5839.zip
deploy: run the cross build as the invoking userv0.1.70
The locale directory the cross build now copies came out root-owned, so deploy.sh could not remove .prebuilt and stopped before switching the containers. Running the container with the caller's uid keeps the output deletable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'deploy/cross-build.sh')
-rw-r--r--deploy/cross-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/cross-build.sh b/deploy/cross-build.sh
index 75c181c..f0b5a0a 100644
--- a/deploy/cross-build.sh
+++ b/deploy/cross-build.sh
@@ -23,4 +23,4 @@ cp /tmp/build/bokfd /tmp/build/bokfctl /tmp/build/bokftui \
# the Alpine runtime does not have: without C.utf8 setlocale() fails and
# the TUI shows no åäö. Ship Debian's C.utf8 with the binaries.
mkdir -p /out/locale
-cp -a /usr/lib/locale/C.utf8 /out/locale/
+cp -R /usr/lib/locale/C.utf8 /out/locale/