Update pull

This commit is contained in:
Sangye Ince-Johannsen 2025-01-17 20:38:19 +00:00
parent e9aef4da14
commit 18e0dd5187

8
pull
View file

@ -1,10 +1,10 @@
#!/bin/bash
repos_file="./repos.txt"
REPOS_FILE="./repos.txt"
# Check if the repos file exists
if [ ! -f "$repos_file" ]; then
echo "Error: $repos_file does not exist in the current directory."
if [ ! -f "$REPOS_FILE" ]; then
echo "Error: $REPOS_FILE does not exist in the current directory."
exit 1
fi
@ -39,7 +39,7 @@ while IFS= read -r repo_path || [[ -n "$repo_path" ]]; do
echo "Update complete for $repo_path"
echo "----------------------------------------"
done < "$repos_file"
done < "$REPOS_FILE"
echo "All repositories processed."