Fix bug in code generator which prevented it from generating code

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
Ryan Richard
2020-08-21 12:30:50 -07:00
committed by Andrew Keesler
parent 2b297c28d5
commit 0a805861ea
2 changed files with 9 additions and 2 deletions
+1 -2
View File
@@ -59,10 +59,9 @@ function with_modules() {
for mod_file in $(find . -maxdepth 4 -name go.mod | sort); do
mod_dir="$(dirname "${mod_file}")"
(
export MOD_DIR
echo "=> "
echo " cd ${mod_dir} && ${cmd}"
cd "${mod_dir}" && MOD_DIR="$(pwd)" && ${cmd}
cd "${mod_dir}" && ${cmd}
)
done
popd