#!/bin/sh set -eu data=$TNGL_STATE/data/github-stub mkdir -p "$data/repos" if [ -z "${GITHUB_STUB_CMD:-}" ]; then REPOS_DIR="$data/repos" "$GITHUB_STUB_BIN" -c 'import sys; sys.path.insert(0, "'"$TNGL_ROOT"'/localinfra/github-stub"); from server import seed_repositories; seed_repositories()' fi