From 463df99f6cda8012bb0aaea013d5828271edebab Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 14 Apr 2012 23:16:20 +0200 Subject: [PATCH] libnetwork.lib: simplify sed expression Signed-off-by: Davide Madrisan --- lib/libnetwork.lib.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libnetwork.lib.in b/lib/libnetwork.lib.in index d33a57c..752a955 100644 --- a/lib/libnetwork.lib.in +++ b/lib/libnetwork.lib.in @@ -55,8 +55,8 @@ function repository.get_srpm_pckname_from_HTML() { local pckname_from_HTML=($(tr A-Z a-z < $infile | \ sed -n "# remove HTML tags --> get a better input - /<[aA] [hH][rR][eE][fF]=\".*\.src\.rpm\"/{ - s|.*<[aA] [hH][rR][eE][fF]=\"\([^\"]*\)\".*|\1| + /