mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 16:49:42 +00:00
add initialization of submodule
This commit is contained in:
@@ -6,9 +6,13 @@ args="$@"
|
|||||||
cur=`dirname $(readlink -f $0)`
|
cur=`dirname $(readlink -f $0)`
|
||||||
opwd=`pwd`
|
opwd=`pwd`
|
||||||
bin="${cur}/dotdrop/dotdrop.py"
|
bin="${cur}/dotdrop/dotdrop.py"
|
||||||
|
|
||||||
# run dotdrop
|
|
||||||
cfg="${cur}/config.yaml"
|
cfg="${cur}/config.yaml"
|
||||||
|
|
||||||
|
# pivot
|
||||||
cd ${cur}
|
cd ${cur}
|
||||||
|
# init the submodule
|
||||||
|
git submodule update --init --recursive
|
||||||
|
# launch dotdrop
|
||||||
python3 ${bin} --cfg=${cfg} $args
|
python3 ${bin} --cfg=${cfg} $args
|
||||||
|
# pivot back
|
||||||
cd ${opwd}
|
cd ${opwd}
|
||||||
|
|||||||
Reference in New Issue
Block a user