diff --git a/bin/pmbp.pl b/bin/pmbp.pl index 3451c76..c449a91 100755 --- a/bin/pmbp.pl +++ b/bin/pmbp.pl @@ -2606,7 +2606,7 @@ ($$) run_command ['brew', '--prefix', 'gmp'], discard_stderr => 1, onoutput => sub { $gmp_prefix .= $_[0]; 5 }; - $mpfr_prefix =~ s/\s+$//; + $gmp_prefix =~ s/\s+$//; if (length $gmp_prefix) { $envs->{GMP_HOME} = $gmp_prefix; ##