clarify
This commit is contained in:
@@ -8,7 +8,7 @@ MAIN_BRANCH=main
|
||||
REPO_DIR=/home/kornerr/repo-ru
|
||||
REPO_URL=https://github.com/kornerr/ru
|
||||
|
||||
# Clone since the directory does not exist
|
||||
# Clone if the directory does not exist
|
||||
if [ ! -d "$REPO_DIR" ]; then
|
||||
git clone $REPO_URL $REPO_DIR
|
||||
fi
|
||||
@@ -45,6 +45,7 @@ function replace {
|
||||
cmd="sed -i 's|$was|$now|g' $file"
|
||||
eval "$cmd"
|
||||
}
|
||||
|
||||
# Rename references
|
||||
replace $DST_DIR/bank.html "$kmpWas" "$kmpNow"
|
||||
replace $DST_DIR/quiz.html "$kmpWas" "$kmpNow"
|
||||
|
||||
Reference in New Issue
Block a user