Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use $(...) notation instead of legacy backticked ... #38

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/components/files/create-tables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down