[PATCH] Fix filelist check for new rpm

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Fix filelist check for new rpm

Michal Marek
Directories in the rpm filelist have a trailing '/' now.

Signed-off-by: Michal Marek <[hidden email]>
---
 checks-data/checkdirs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/checks-data/checkdirs b/checks-data/checkdirs
index e6fd431..7611a4f 100755
--- a/checks-data/checkdirs
+++ b/checks-data/checkdirs
@@ -18,6 +18,7 @@ my %myfiles;
 
 while (<STDIN>) {
   chomp;
+  s/\/$//;
   $myfiles{$_} = 1;
   while (1) {
     last unless s/\/[^\/]*$//;
--
1.7.6

--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]