mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-16 21:50:14 +02:00
refactor: Ensured Usage of Log Function
This should ensure a more consistent script output
This commit is contained in:
@ -8,7 +8,6 @@ for DIR in /etc/bridgehead $(pwd); do
|
||||
old_git_hash="$(git -C $DIR rev-parse --verify HEAD)"
|
||||
git -C $DIR fetch 2>&1
|
||||
git -C $DIR pull 2>&1
|
||||
git -C $DIR remote -v
|
||||
new_git_hash="$(git -C $DIR rev-parse --verify HEAD)"
|
||||
git_updated="false"
|
||||
if [ "$old_git_hash" != "$new_git_hash" ]; then
|
||||
|
Reference in New Issue
Block a user