From 08ac285f95c6ea80dea7b2fee95d50680c380fe8 Mon Sep 17 00:00:00 2001 From: SivaMaplelabs Date: Mon, 12 Nov 2018 15:26:29 +0530 Subject: [PATCH] Use $(...) notation instead of legacy backticked `...` --- scripts/components/files/create-tables.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/components/files/create-tables.sh b/scripts/components/files/create-tables.sh index b63ed91..9f96947 100644 --- a/scripts/components/files/create-tables.sh +++ b/scripts/components/files/create-tables.sh @@ -18,7 +18,7 @@ BLOOMFILTER=${BLOOMFILTER-'ROW'} # LZO requires lzo2 64bit to be installed + the hadoop-gpl-compression jar. COMPRESSION=${COMPRESSION-'NONE'} # All compression codec names are upper case (NONE, LZO, SNAPPY, etc). -COMPRESSION=`echo "$COMPRESSION" | tr a-z A-Z` +COMPRESSION=$(echo "$COMPRESSION" | tr a-z A-Z) case $COMPRESSION in (NONE|LZO|GZIP|SNAPPY) :;; # Known good. @@ -27,7 +27,7 @@ case $COMPRESSION in ;; esac -# HBase scripts also use a variable named `HBASE_HOME', and having this +# HBase scripts also use a variable named 'HBASE_HOME', and having this # variable in the environment with a value somewhat different from what # they expect can confuse them in some cases. So rename the variable. hbh=$HBASE_HOME