sourcegraph/dev/src-expose/entry.sh
2020-04-21 10:03:17 -07:00

9 lines
218 B
Bash
Executable File

#!/usr/bin/env sh
# Feed every directory in /app/data to src-expose
codedirs=$(cd /app/data && find . -maxdepth 1 -mindepth 1 | cut -c3- | xargs)
# shellcheck disable=SC2086
exec /usr/local/bin/src-expose $codedirs