upd: quoting this to see what it changes

This commit is contained in:
PowerUser64 2022-05-15 02:11:03 -07:00
parent a0ed5e732e
commit e2d2a29146

View file

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