Fix submodule_update.sh shellcheck errors
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
a96aca9f87
commit
2614e38b24
1 changed files with 5 additions and 2 deletions
|
@ -16,7 +16,10 @@
|
|||
|
||||
START_DIR=$(pwd)
|
||||
|
||||
for dir in $(find . -name .git -type d -prune)
|
||||
|
||||
|
||||
|
||||
while IFS= read -r -d '' dir
|
||||
do
|
||||
cd "$dir" || exit 1
|
||||
cd .. || exit 1
|
||||
|
@ -49,4 +52,4 @@ do
|
|||
|
||||
cd "${START_DIR}" || exit 1
|
||||
|
||||
done
|
||||
done < <(find . -name .git -type d -prune -print0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue