diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-01-29 17:05:04 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-01-29 17:05:04 +0100 |
commit | ac3326dfb82b7070fd0c8687ab05d8f049cd89b9 (patch) | |
tree | a872d1c579858ab3156631b60175bd958ff679db | |
parent | update footer to 2023 (diff) | |
download | systemd-ac3326dfb82b7070fd0c8687ab05d8f049cd89b9.tar.xz systemd-ac3326dfb82b7070fd0c8687ab05d8f049cd89b9.zip |
mkosi: Fix shellcheck warnings
-rwxr-xr-x | mkosi.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkosi.build b/mkosi.build index d2b9ea957e..b67ee62e22 100755 --- a/mkosi.build +++ b/mkosi.build @@ -235,7 +235,7 @@ if [ -n "$CI_BUILD" ]; then fi if [ -n "$SANITIZERS" ]; then - LD_PRELOAD=$(ldd $BUILDDIR/systemd | grep libasan.so | awk '{print $3}') + LD_PRELOAD=$(ldd "$BUILDDIR"/systemd | grep libasan.so | awk '{print $3}') mkdir -p "$DESTDIR/etc/systemd/system.conf.d" @@ -292,7 +292,7 @@ if [ -d mkosi.kernel/ ]; then make O="$BUILDDIR/mkosi.kernel" -j "$(nproc)" - KERNEL_RELEASE="$(make O=$BUILDDIR/mkosi.kernel -s kernelrelease)" + KERNEL_RELEASE=$(make O="$BUILDDIR"/mkosi.kernel -s kernelrelease) mkdir -p "$DESTDIR/usr/lib/modules/$KERNEL_RELEASE" make O="$BUILDDIR/mkosi.kernel" INSTALL_HDR_PATH=/usr headers_install make O="$BUILDDIR/mkosi.kernel" INSTALL_MOD_PATH="$DESTDIR/usr" modules_install |