Commit fe0878c4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: more strict checking (for .gitmodules)

parent e11e7af3
......@@ -204,6 +204,7 @@ update_post_git_submodules()
info "Detected post git submodules hook"
cat $(get_root_git_dir)/.gear/rules | grep -q "tar:.*-postsubmodules" || fatal "missed tar:.gear/$BASENAME-posmodules in $(get_root_git_dir)/.gear/rules"
[ -s $(get_root_git_dir)/.gitmodules ] || fatal "there is no .gitmodules file in repo root"
docmd git submodule init
docmd git submodule sync
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment