Preserve Idunn ownership during Gjallar bootstrap
This commit is contained in:
parent
7a1a42faa1
commit
e71ce3c959
1 changed files with 0 additions and 1 deletions
|
|
@ -11,7 +11,6 @@ clone_for_idunn() {
|
|||
path="/srv/build/$name"
|
||||
if [ ! -d "$path/.git" ]; then
|
||||
install -d -o idunn -g idunn -m 0755 "$path"
|
||||
rmdir "$path"
|
||||
sudo -H -u idunn git clone --filter=blob:none --no-checkout "$origin" "$path"
|
||||
fi
|
||||
[ "$(sudo -H -u idunn git -C "$path" remote get-url origin)" = "$origin" ] || { echo "$path has a foreign origin." >&2; exit 1; }
|
||||
|
|
|
|||
Reference in a new issue