mirror of
https://github.com/unmojang/meta.git
synced 2025-09-23 11:10:53 -04:00
refactor: Use $(...) notation instead of legacy backticked ...
This commit is contained in:
parent
189a7eecc5
commit
e823dd309b
2
clone.sh
2
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
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
cd "${BASEDIR}" || exit 1
|
||||
BASEDIR=`pwd`
|
||||
BASEDIR=$(pwd)
|
||||
|
||||
source config.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
|
||||
|
Loading…
x
Reference in New Issue
Block a user