From: Daan De Meyer Date: Thu, 19 Dec 2024 14:05:33 +0000 (+0100) Subject: mkosi.clangd: Don't pass --host if we're not using flatpak-spawn X-Git-Tag: v258-rc1~1797^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b133f57544cb6cce244bb8566fbacc952db76d73;p=thirdparty%2Fsystemd.git mkosi.clangd: Don't pass --host if we're not using flatpak-spawn --- diff --git a/mkosi.clangd b/mkosi.clangd index 7cd447c4ee9..10c44a70d82 100755 --- a/mkosi.clangd +++ b/mkosi.clangd @@ -7,7 +7,7 @@ else SPAWN=() 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")" RELEASE="$(jq -r .Release <<< "$MKOSI_CONFIG")" ARCH="$(jq -r .Architecture <<< "$MKOSI_CONFIG")"