Dump $uninitialized

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
Václav Valíček 2022-06-25 22:32:35 +02:00
parent 4e4587335f
commit bb4cc49f03
Signed by: valicek
GPG Key ID: FF05BDCA0C73BB31

View File

@ -19,13 +19,13 @@ then
git submodule | awk '{print $2}' | while read submodule git submodule | awk '{print $2}' | while read submodule
do do
echo "Submodule: $submodule" echo "Submodule: $submodule"
ls -lah $submodule
if [ ! -d "$submodule/.git" ] if [ ! -d "$submodule/.git" ]
then then
echo "Moudle is unitialized..." echo "Moudle is unitialized..."
uninitialized=1 uninitialized=1
fi fi
done done
echo un: $uninitialized
if [ $uninitialized -eq 1 ] if [ $uninitialized -eq 1 ]
then then