protogen uses output dir readonly variable

This commit is contained in:
William Banfield
2021-11-15 11:44:17 -05:00
parent 9bcd1f311f
commit ffde6ca6c8

View File

@@ -40,7 +40,7 @@ echo "proto files have been compiled"
echo "removing copied files"
find ${OUTDIR}/proto/tendermint/ -name *.proto \
| sed "s/\.\/$OUTDIR\/\(.*\)/\1/g" \
| sed "s/$OUTDIR\/\(.*\)/\1/g" \
| xargs -I {} rm {}
rm -rf ${OUTDIR}