Skip to content

Commit 75d01c6

Browse files
committed
chore: adjust verification script to not error when no differences remain
1 parent 2ea1aea commit 75d01c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

etc/bin/verify-reproducible.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ if [ -s diff.txt ]; then
143143
fi
144144

145145
done < diff.txt
146+
: > diff_purged.txt # Ensure the file exists and is empty
146147
mv diff_purged.txt diff.txt
147148
rm -rf firstArtifact secondArtifact firstSource secondSource || true
148149

@@ -152,6 +153,7 @@ if [ -s diff.txt ]; then
152153
echo "❌ Differences Found ❌"
153154
else
154155
echo "✅ Differences were resolved via decompilation. ✅"
156+
exit 0
155157
fi
156158
else
157159
echo "✅ No Differences Found. ✅"

0 commit comments

Comments
 (0)