fix(proto): remove conditional preventing proper generated file placement (#20650)

This commit is contained in:
Matt Kocubinski 2024-06-13 04:03:34 -04:00 committed by GitHub
parent 8d205afbb3
commit 313ce057c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ for dir in $proto_dirs; do
done
# move generated files to the right places
if [ -d "../cosmossdk.io" -a "$dir" != "./proto" ]; then
if [ -d "../cosmossdk.io" ]; then
cp -r ../cosmossdk.io/* $home
rm -rf ../cosmossdk.io
fi