Update pull
This commit is contained in:
parent
e9aef4da14
commit
18e0dd5187
1 changed files with 4 additions and 4 deletions
8
pull
8
pull
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
repos_file="./repos.txt"
|
REPOS_FILE="./repos.txt"
|
||||||
|
|
||||||
# Check if the repos file exists
|
# Check if the repos file exists
|
||||||
if [ ! -f "$repos_file" ]; then
|
if [ ! -f "$REPOS_FILE" ]; then
|
||||||
echo "Error: $repos_file does not exist in the current directory."
|
echo "Error: $REPOS_FILE does not exist in the current directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ while IFS= read -r repo_path || [[ -n "$repo_path" ]]; do
|
||||||
|
|
||||||
echo "Update complete for $repo_path"
|
echo "Update complete for $repo_path"
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
done < "$repos_file"
|
done < "$REPOS_FILE"
|
||||||
|
|
||||||
echo "All repositories processed."
|
echo "All repositories processed."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue