Ed Tanous | ae2b073 | 2021-04-29 13:23:53 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | set -e | ||||
4 | |||||
5 | # When called from openbmc-build-scripts, the `pwd` could be anywhere, but | ||||
6 | # the root of the repo is passed in the first argument. Switch to the repo | ||||
7 | # root so npm/git run in the right place. | ||||
8 | if [ -n "$1" ]; then | ||||
9 | cd "$1" | ||||
10 | fi | ||||
11 | python3 scripts/autojson.py configurations |