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