From 8adb38261391cc392ae30dda2dc64a32e3c88cec Mon Sep 17 00:00:00 2001 From: root Date: Mon, 4 Nov 2019 21:12:40 +0100 Subject: [PATCH] rpmsafe: +realpath --- bin/rpmsafe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] //;' -- 1.8.3.1