From 924dbd543a461e90f0dba0132c15d76857f93026 Mon Sep 17 00:00:00 2001 From: Adam Ruzicka Date: Fri, 5 Jan 2024 11:54:50 +0100 Subject: [PATCH] Fix ruby version check in plugin test Before $ if ["${ruby}" = '2.7']; then echo yay; fi bash: [2.7: command not found After $ if [ "${ruby}" = '2.7' ]; then echo yay; fi yay Fixes: f164a3f291045dd45fac4dd560421f243af1fbc3 --- theforeman.org/scripts/test/test_plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theforeman.org/scripts/test/test_plugin.sh b/theforeman.org/scripts/test/test_plugin.sh index 4d426866..4854830d 100644 --- a/theforeman.org/scripts/test/test_plugin.sh +++ b/theforeman.org/scripts/test/test_plugin.sh @@ -23,7 +23,7 @@ rvm gemset empty --force set -x -if ["${ruby}" = '2.7'] +if [ "${ruby}" = '2.7' ] then gem install bundler -v 2.4.22 --no-document else