From e823dd309b0b1280cc86c72f7ac226739322ce3a Mon Sep 17 00:00:00 2001 From: txtsd Date: Wed, 6 Apr 2022 18:06:38 +0530 Subject: [PATCH] refactor: Use $(...) notation instead of legacy backticked `...` --- clone.sh | 2 +- status.sh | 2 +- update.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clone.sh b/clone.sh index b2780a0..f5668c7 100755 --- a/clone.sh +++ b/clone.sh @@ -2,7 +2,7 @@ BASEDIR=$(dirname "$0") cd "${BASEDIR}" || exit 1 -BASEDIR=`pwd` +BASEDIR=$(pwd) source config.sh if [ -f config/config_local.sh ]; then diff --git a/status.sh b/status.sh index fcc3cd2..427bdd2 100755 --- a/status.sh +++ b/status.sh @@ -2,7 +2,7 @@ BASEDIR=$(dirname "$0") cd "${BASEDIR}" || exit 1 -BASEDIR=`pwd` +BASEDIR=$(pwd) source config.sh diff --git a/update.sh b/update.sh index 01eb5b6..6417dd4 100755 --- a/update.sh +++ b/update.sh @@ -2,7 +2,7 @@ BASEDIR=$(dirname "$0") cd "${BASEDIR}" || exit 1 -BASEDIR=`pwd` +BASEDIR=$(pwd) set -x @@ -36,7 +36,7 @@ function polymc_git { # make sure we *could* push to our repo -currentDate=`date --iso-8601` +currentDate=$(date --iso-8601) upstream_git reset --hard HEAD || exit 1 upstream_git checkout ${BRANCH} || exit 1