1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 06:14:16 +00:00

update submodule

This commit is contained in:
deadc0de6
2017-12-23 22:02:17 +01:00
parent 1bd5137ca7
commit f8f41bf63b
3 changed files with 4 additions and 14 deletions

View File

@@ -24,12 +24,7 @@ sub="dotdrop"
# pivot
cd "${cur}" || { echo "Folder \"${cur}\" doesn't exist, aborting." && exit; }
# init/update the submodule
if [ -e ${sub} ]; then
cd dotdrop
git checkout master
git pull
cd ..
fi
git submodule foreach git pull origin master
# launch dotdrop
PYTHONPATH=dotdrop python3 -m dotdrop.dotdrop --cfg="${cfg}" "${args[@]}"
# pivot back