mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +03:00
mkosi.clangd: Don't pass --host if we're not using flatpak-spawn
This commit is contained in:
parent
8c5b4df543
commit
b133f57544
@ -7,7 +7,7 @@ else
|
|||||||
SPAWN=()
|
SPAWN=()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MKOSI_CONFIG="$("${SPAWN[@]}" --host mkosi --json summary | jq -r .Images[-1])"
|
MKOSI_CONFIG="$("${SPAWN[@]}" mkosi --json summary | jq -r .Images[-1])"
|
||||||
DISTRIBUTION="$(jq -r .Distribution <<< "$MKOSI_CONFIG")"
|
DISTRIBUTION="$(jq -r .Distribution <<< "$MKOSI_CONFIG")"
|
||||||
RELEASE="$(jq -r .Release <<< "$MKOSI_CONFIG")"
|
RELEASE="$(jq -r .Release <<< "$MKOSI_CONFIG")"
|
||||||
ARCH="$(jq -r .Architecture <<< "$MKOSI_CONFIG")"
|
ARCH="$(jq -r .Architecture <<< "$MKOSI_CONFIG")"
|
||||||
|
Loading…
Reference in New Issue
Block a user