28ab1c
From 0ebfdeafe3d2b023bd52704c6f7a8a2082379da5 Mon Sep 17 00:00:00 2001
28ab1c
From: Harald Hoyer <harald@redhat.com>
28ab1c
Date: Fri, 12 Feb 2021 13:26:14 +0100
28ab1c
Subject: [PATCH] fix: shellcheck for modules.d/99squash/module-setup.sh
28ab1c
28ab1c
(cherry picked from commit 6510ab3f9d6ce555435cf57b716702b5b7663772)
28ab1c
28ab1c
Resolves: #1959336
28ab1c
---
28ab1c
 modules.d/99squash/module-setup.sh | 6 +++---
28ab1c
 1 file changed, 3 insertions(+), 3 deletions(-)
28ab1c
28ab1c
diff --git a/modules.d/99squash/module-setup.sh b/modules.d/99squash/module-setup.sh
28ab1c
index b183daf7..5b2435cc 100644
28ab1c
--- a/modules.d/99squash/module-setup.sh
28ab1c
+++ b/modules.d/99squash/module-setup.sh
28ab1c
@@ -32,9 +32,9 @@ installkernel() {
28ab1c
 
28ab1c
 install() {
28ab1c
     inst_multiple kmod modprobe mount mkdir ln echo
28ab1c
-    inst $moddir/setup-squash.sh /squash/setup-squash.sh
28ab1c
-    inst $moddir/clear-squash.sh /squash/clear-squash.sh
28ab1c
-    inst $moddir/init.sh /squash/init.sh
28ab1c
+    inst "$moddir"/setup-squash.sh /squash/setup-squash.sh
28ab1c
+    inst "$moddir"/clear-squash.sh /squash/clear-squash.sh
28ab1c
+    inst "$moddir"/init.sh /squash/init.sh
28ab1c
 
28ab1c
     inst "$moddir/squash-mnt-clear.service" "$systemdsystemunitdir/squash-mnt-clear.service"
28ab1c
     systemctl -q --root "$initdir" add-wants initrd-switch-root.target squash-mnt-clear.service
28ab1c