From 0bb3b53ebeae1919c668ef795f288460523bdf86 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 17 Aug 2016 00:58:21 -0400 Subject: [PATCH] Look for dump_mac_addressbook in same path as main script. --- archive_imessage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archive_imessage.pl b/archive_imessage.pl index e6add9d..eda74e7 100755 --- a/archive_imessage.pl +++ b/archive_imessage.pl @@ -706,7 +706,7 @@ sub lookup_ios_address { 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 () {