mirror-cockpit-project-cockpit/vendor/checkout
Allison Karlitskaya eab0640513 modules: rename to vendor
This is a lot more tab-complete-friendly and it's also closer to what
many other packages do for similar situations.
2023-09-07 17:48:36 +02:00

9 lines
170 B
Bash
Executable file

#!/bin/sh
set -eu
cd "${0%/*}/.."
# Nothing missing? Do nothing.
git submodule status vendor | grep -q ^- || exit 0
git submodule update --init --checkout 'vendor/*'