#!/bin/sh -eu # DESCRIPTION: update Git submodules # SYNTAX: # ACTION: initialize from ./ test -L "$0" && tool="$(readlink -e "$0")" || tool=$0 tool=$(readlink -e "${tool%/*}"/.) root=$(readlink -e ${root-"${0%/*}"/.}) # ACTION: update Git submodules set -x cd "$root" git submodule update --init --recursive lib PATH="$tool"/lib/tool/git/remote/gpg:"$PATH" \ GRG_keys=" @julm@heureux-cyclage.org, @ludovic.chevalier@heureux-cyclage.org " \ git submodule update --init --recursive sec