mirror of
https://cgit.krebsco.de/krops
synced 2024-11-26 21:19:47 +01:00
populate git: set -efu
This commit is contained in:
parent
6f49342b2d
commit
4017c60485
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ let
|
||||||
rsync' target config (quote source.path);
|
rsync' target config (quote source.path);
|
||||||
|
|
||||||
pop.git = target: source: shell' target /* sh */ ''
|
pop.git = target: source: shell' target /* sh */ ''
|
||||||
|
set -efu
|
||||||
if ! test -e ${quote target.path}; then
|
if ! test -e ${quote target.path}; then
|
||||||
git clone --recurse-submodules ${quote source.url} ${quote target.path}
|
git clone --recurse-submodules ${quote source.url} ${quote target.path}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue