mirror of https://cgit.krebsco.de/krops/
populate git: set -efu
This commit is contained in:
parent
6f49342b2d
commit
4017c60485
|
@ -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 New Issue