mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08:00
mkosi: Enable clangd execution for all distributions
This commit is contained in:
parent
cc74edd861
commit
70bb29db62
7
mkosi.images/build/mkosi.build.chroot
Executable file
7
mkosi.images/build/mkosi.build.chroot
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
if [[ "$1" == "clangd" ]]; then
|
||||
exec "$@"
|
||||
fi
|
@ -2,10 +2,6 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
if [[ "$1" == "clangd" ]]; then
|
||||
exec "$@"
|
||||
fi
|
||||
|
||||
if [[ ! -f "pkg/$PKG_SUBDIR/PKGBUILD" ]]; then
|
||||
echo "PKGBUILD not found at pkg/$PKG_SUBDIR/PKGBUILD, run mkosi once with -ff to make sure the PKGBUILD is cloned" >&2
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user