1*ae2b0734SEd Tanous#!/bin/bash 2*ae2b0734SEd Tanous 3*ae2b0734SEd Tanousset -e 4*ae2b0734SEd Tanous 5*ae2b0734SEd Tanous# When called from openbmc-build-scripts, the `pwd` could be anywhere, but 6*ae2b0734SEd Tanous# the root of the repo is passed in the first argument. Switch to the repo 7*ae2b0734SEd Tanous# root so npm/git run in the right place. 8*ae2b0734SEd Tanousif [ -n "$1" ]; then 9*ae2b0734SEd Tanous cd "$1" 10*ae2b0734SEd Tanousfi 11*ae2b0734SEd Tanouspython3 scripts/autojson.py configurations 12