From 56aff1dfc2e1801ac284c34eca7206153d9e9a77 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 20 May 2020 17:10:16 -0500 Subject: [PATCH] scripts/InstallScripts/InstallPrawnOS.sh: fix shellcheck SC2053 'Quote the right-hand side of == in [[ ]] to prevent glob matching.' --- scripts/InstallScripts/InstallPrawnOS.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/InstallScripts/InstallPrawnOS.sh b/scripts/InstallScripts/InstallPrawnOS.sh index 187d3b1..4a0ab88 100755 --- a/scripts/InstallScripts/InstallPrawnOS.sh +++ b/scripts/InstallScripts/InstallPrawnOS.sh @@ -71,7 +71,7 @@ install() { TARGET=/dev/sda fi fi - if [[ $TARGET == $BOOT_DEVICE ]] + if [[ "$TARGET" == "$BOOT_DEVICE" ]] then echo "Can't install to booted device, please ensure you have *only* the booted device and target device inserted" exit