Browse Source

Add check and update of submodule for case that iguana repo is downloaded without --recursive

all-modes
michal maxian 8 years ago
parent
commit
2b8d094b69
  1. 14
      check_submodule.sh

14
check_submodule.sh

@ -0,0 +1,14 @@
#!/bin/bash
### Script will check EasyDEX-GUI submodule in gui folder.
### If you used git clone without --recursive option this is way to go.
PWD=`pwd`
SIZE=`du -sk gui/EasyDEX-GUI`
echo "Checking EasyDEX-GUI folder."
cd gui/EasyDEX-GUI && \
git submodule update --init --recursive && \
cd ../.. && \
echo "Folder looks fine." || \
echo "Some problem with cloning submodule EasyDEX-GUI."
echo
Loading…
Cancel
Save