Ajout: sys/nginx/net/velocampus/devel
[lhc/admin.git] / update
1 #!/bin/sh -eu
2 # DESCRIPTION: update Git submodules
3 # SYNTAX:
4
5 # ACTION: initialize from ./
6 test -L "$0" && tool="$(readlink -e "$0")" || tool=$0
7 tool=$(readlink -e "${tool%/*}"/.)
8 root=$(readlink -e ${root-"${0%/*}"/.})
9 # ACTION: update Git submodules
10 set -x
11 cd "$root"
12 git submodule update --init --recursive lib
13 PATH="$tool"/lib/tool/git/remote/gpg:"$PATH" \
14 GRG_keys="@julm@heureux-cyclage.org,@ludovic.chevalier@heureux-cyclage.org" \
15 git submodule update --init --recursive sec