From: root Date: Mon, 4 Nov 2019 20:12:40 +0000 (+0100) Subject: rpmsafe: +realpath X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=8adb38261391cc392ae30dda2dc64a32e3c88cec rpmsafe: +realpath --- diff --git a/bin/rpmsafe b/bin/rpmsafe index 54f771e..f8071da 100755 --- a/bin/rpmsafe +++ b/bin/rpmsafe @@ -1,2 +1,2 @@ #! /bin/bash -rpm -Vva 2>/dev/null|perl -ne 'BEGIN{use Cwd qw(realpath);}print if s/^[.]{7}[.T][.] [^g] //;' +rpm -Vva 2>/dev/null|perl -ne 'BEGIN{use Cwd qw(realpath);}chomp;print realpath($_)."\n" if s/^[.]{7}[.T][.] [^g] //;'