From 2a10b068c62439555d2352116f7a812227081532 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sat, 25 Jan 2025 23:34:46 -0800 Subject: [PATCH] upd(fix): initialize REPOS_TO_UPDATE --- .config/shell/bin/upd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/shell/bin/upd b/.config/shell/bin/upd index 1a955d0..7b0bf4c 100755 --- a/.config/shell/bin/upd +++ b/.config/shell/bin/upd @@ -23,6 +23,8 @@ fi # Avoiding copy pasting this over and over g() { git -C "$REPO" "$@"; } +REPOS_TO_UPDATE="${REPOS_TO_UPDATE:-}" + # path_append from https://superuser.com/questions/39751/add-directory-to-path-if-its-not-already-there # checks if a path is already in the PATH and if it exists path_append() {