1
0

mac build: compare_dmg: "diff" should handle missing directory

(as in, non-existent path)
This commit is contained in:
SomberNight
2021-07-19 17:08:02 +02:00
parent 9c2807cbb1
commit c1d28bcf53

View File

@@ -47,7 +47,7 @@ QUIET="1" "$CONTRIB_OSX/apply_sigs.sh" "$DMG_UNSIGNED_UNPACKED"/Electrum.app mac
rm mac_extracted_sigs.tar.gz
diff=$(diff -qr "$WORKSPACE/signed_app" "$DMG_RELEASE_UNPACKED") || true
diff=$(diff -qr "$WORKSPACE/signed_app" "$DMG_RELEASE_UNPACKED") || diff="diff errored"
echo $diff
if [ "$diff" ]; then
echo "DMGs do *not* match."