home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
927e09f
)
Fixes.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 31 Mar 2025 08:48:07 +0000
(10:48 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 31 Mar 2025 08:48:07 +0000
(10:48 +0200)
testing/scripts/setup_secrets.sh
patch
|
blob
|
history
diff --git
a/testing/scripts/setup_secrets.sh
b/testing/scripts/setup_secrets.sh
index f2294f15df8e6ef6f4a98bbca6c9c35886732902..41e9f7b1ac21111fdcaf60aed09a14523806dca8 100755
(executable)
--- a/
testing/scripts/setup_secrets.sh
+++ b/
testing/scripts/setup_secrets.sh
@@
-50,7
+50,7
@@
chown -R "${USERNAME}:${USERNAME}" "${PATH_SECRETS}"
export BORG_PASSPHRASE="${PASSPHRASE}"
PATH_TMP_REPO="$(path_tmp_timestamped configrepo)"
-cp -a
L
"${PATH_REPO}" "${PATH_TMP_REPO}"
+cp -a "${PATH_REPO}" "${PATH_TMP_REPO}"
chown -R "${USERNAME}:${USERNAME}" "${PATH_TMP_REPO}"
su -l "${USERNAME}" --whitelist-environment=PATH_SECRETS,BORG_PASSPHRASE -c "/bin/sh ${PATH_TMP_REPO}/${PATH_REL_SETUP_SECRETS_USER}"
rm -rf "${PATH_TMP_REPO}"