use $PERL

This commit is contained in:
Mark Andrews
2014-06-24 13:50:14 +10:00
parent a421f4458d
commit 1c95f67232
5 changed files with 11 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ showprivate () {
echo "-- $@ --"
$DIG $DIGOPTS +nodnssec +short @$2 -t type65534 $1 | cut -f3 -d' ' |
while read record; do
perl -e 'my $rdata = pack("H*", @ARGV[0]);
$PERL -e 'my $rdata = pack("H*", @ARGV[0]);
die "invalid record" unless length($rdata) == 5;
my ($alg, $key, $remove, $complete) = unpack("CnCC", $rdata);
my $action = "signing";