Browse Source

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

(as in, non-existent path)
patch-4
SomberNight 3 years ago
parent
commit
c1d28bcf53
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      contrib/osx/compare_dmg

2
contrib/osx/compare_dmg

@ -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."

Loading…
Cancel
Save