From 254a5f0b4d3f0cfa64f216db5ec88a7f530d7840 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 14 Aug 2008 21:41:19 +0000 Subject: [PATCH] - strip %{nil} from url Changed files: pldnotify.awk -> 1.59 --- pldnotify.awk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pldnotify.awk b/pldnotify.awk index ac6b881..775351e 100644 --- a/pldnotify.awk +++ b/pldnotify.awk @@ -385,6 +385,9 @@ function process_data(name,ver,rel,src) { # this function checks if substitutions were valid, and if true: # processes each URL and tries to get current file list for (i in src) { + if ( src[i] ~ /%{nil}/ ) { + gsub(/\%\{nil\}/, "", src[i]) + } if ( src[i] !~ /%{.*}/ && src[i] !~ /%[A-Za-z0-9_]/ ) { if ( DEBUG ) print "Source: " src[i] process_source(i,src[i],name,ver) -- 2.44.0