X-Git-Url: http://git.cyclocoop.org//%22?a=blobdiff_plain;f=update;fp=update;h=6eb575f9e117dabd05a8d834a5e31cffe88e78e2;hb=c791510f06c5310f4e0cc720a495c7465816cf2f;hp=0000000000000000000000000000000000000000;hpb=74d9adbfd31d4f0d7f33dbfa458849754e6f148e;p=lhc%2Fadmin.git diff --git a/update b/update new file mode 100755 index 0000000..6eb575f --- /dev/null +++ b/update @@ -0,0 +1,18 @@ +#!/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