This commit is contained in:
Daniel Langbein 2021-06-26 16:48:40 +02:00
parent 53d16da3f9
commit 0562f6c627

View File

@ -28,10 +28,6 @@ if stdout="$(git submodule update --remote)"; then
# We capture only the part after "pkg" until the next "'" using sed # We capture only the part after "pkg" until the next "'" using sed
# Source: https://unix.stackexchange.com/a/165590/315162 # Source: https://unix.stackexchange.com/a/165590/315162
sed 's|^Submodule path '\''pkg/\([^'\'']*\).*|\1|' <<< "$stdout" sed 's|^Submodule path '\''pkg/\([^'\'']*\).*|\1|' <<< "$stdout"
else
echo "Some error occurred! Maybe there are local changes in some of the submodules?
"
#echo "$stdout"
fi fi
``` ```