Look for dump_mac_addressbook in same path as main script.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 17 Aug 2016 00:58:21 -0400
changeset 44 6bae4a26133f
parent 43 2acacf5bae24
child 45 bda671007deb
Look for dump_mac_addressbook in same path as main script.
archive_imessage.pl
--- a/archive_imessage.pl	Wed Jun 22 21:34:49 2016 -0400
+++ b/archive_imessage.pl	Wed Aug 17 00:58:21 2016 -0400
@@ -706,7 +706,7 @@
 my %mac_addressbook = ();
 if (not $ios_archive) {
     %mac_addressbook = ();
-    open(HELPERIO, '-|', "./dump_mac_addressbook") or die("Can't run ./dump_mac_addressbook: $!\n");
+    open(HELPERIO, '-|', "$program_dir/dump_mac_addressbook") or die("Can't run $program_dir/dump_mac_addressbook: $!\n");
 
     my @lines = ();
     while (<HELPERIO>) {