From 04471c96530df89daf4c6b867bf98f8bd37ffab3 Mon Sep 17 00:00:00 2001 From: Cyrus <24922493+cyrus-dev@users.noreply.github.com> Date: Fri, 9 Oct 2020 11:58:27 -0400 Subject: [PATCH] Bash if statement with syntax error: exclamation mark was outside of [] --- HIRS_ProvisionerTPM2/package/rpm-post-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HIRS_ProvisionerTPM2/package/rpm-post-install.sh b/HIRS_ProvisionerTPM2/package/rpm-post-install.sh index f18e6190..07eaf377 100644 --- a/HIRS_ProvisionerTPM2/package/rpm-post-install.sh +++ b/HIRS_ProvisionerTPM2/package/rpm-post-install.sh @@ -40,6 +40,6 @@ DEFAULT_SITE_CONFIG_FILE fi ln -s -f /etc/hirs/provisioner/hirs-provisioner.sh /usr/sbin/hirs-provisioner -if ! [ -f "set_tcg_properties.sh" ]; then +if [ ! -f "set_tcg_properties.sh" ]; then sh ./set_tcg_properties.sh fi