upd: quoting this to see what it changes
This commit is contained in:
parent
a0ed5e732e
commit
e2d2a29146
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ fi
|
||||||
IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "$REPOS_TO_UPDATE:$DOCS_DIR:$HOME/bin"
|
IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "$REPOS_TO_UPDATE:$DOCS_DIR:$HOME/bin"
|
||||||
for REPO in "${REPOS_TO_UPDATE_ARR[@]}"; do
|
for REPO in "${REPOS_TO_UPDATE_ARR[@]}"; do
|
||||||
if git -C "$REPO" rev-parse > /dev/null 2>&1; then
|
if git -C "$REPO" rev-parse > /dev/null 2>&1; then
|
||||||
echo " ${GREEN}Pulling ${REPO/$HOME/"~"}‥${NC}"
|
echo " ${GREEN}Pulling ${REPO/"$HOME"/"~"}‥${NC}"
|
||||||
git -C "$REPO" pull
|
git -C "$REPO" pull
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue