mirror of
https://github.com/ben-grande/qusal.git
synced 2025-05-06 08:15:32 -04:00
fix: change directory to repository top level
This commit is contained in:
parent
5d6a50c286
commit
95a184d1a9
16 changed files with 17 additions and 0 deletions
|
@ -10,6 +10,7 @@ set -eu
|
|||
command -v git >/dev/null || { echo "Missing program: git" >&2; exit 1; }
|
||||
repo_toplevel="$(git rev-parse --show-toplevel)"
|
||||
test -d "${repo_toplevel}" || exit 1
|
||||
cd "${repo_toplevel}"
|
||||
unset repo_toplevel
|
||||
./scripts/requires-program.sh pylint
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue