hass-core/scripts/update
2015-01-17 14:32:33 -08:00

7 lines
163 B
Text
Executable file

# If current pwd is scripts, go 1 up.
if [ ${PWD##*/} == "scripts" ]; then
cd ..
fi
git pull --recurse-submodules=yes
git submodule update --init --recursive