From ca28c500ffdc33d794cd8da8b94dc3496831e47f Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Tue, 15 Dec 2015 15:18:59 +0100 Subject: [PATCH] Fix error in cleanup.sh script introduced in d01cb1d7 Declaring varibles can't have spaces surrounding the equals sign. This only affects OEL. --- scripts/centos/cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/centos/cleanup.sh b/scripts/centos/cleanup.sh index faa7e0b49..95decdd89 100644 --- a/scripts/centos/cleanup.sh +++ b/scripts/centos/cleanup.sh @@ -1,9 +1,9 @@ #!/bin/sh -eux if [ -s /etc/oracle-release ]; then - distro = 'oracle' + distro='oracle' elif [ -s /etc/enterprise-release ]; then - distro = 'oracle' + distro='oracle' elif [ -s /etc/redhat-release ]; then # should ouput 'centos' OR 'red hat' distro=`cat /etc/redhat-release | sed 's/^\(CentOS\|Red Hat\).*/\1/i' | tr '[:upper:]' '[:lower:]'`