1#!/bin/bash 2 3set -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. 8if [ -n "$1" ]; then 9 cd "$1" 10fi 11python3 scripts/autojson.py configurations 12