refactor: Use $(...) notation instead of legacy backticked ...

This commit is contained in:
txtsd 2022-04-06 18:06:38 +05:30
parent 189a7eecc5
commit e823dd309b
No known key found for this signature in database
GPG Key ID: 000F85679D4B6B53
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@
BASEDIR=$(dirname "$0")
cd "${BASEDIR}" || exit 1
BASEDIR=`pwd`
BASEDIR=$(pwd)
source config.sh

View File

@ -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