Dump $uninitialized
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
parent
4e4587335f
commit
bb4cc49f03
2
.laminar
2
.laminar
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user