[kernel-sec-discuss] r4196 - scripts

Ben Hutchings benh at moszumanska.debian.org
Sun Feb 28 16:20:51 UTC 2016


Author: benh
Date: 2016-02-28 16:20:51 +0000 (Sun, 28 Feb 2016)
New Revision: 4196

Modified:
   scripts/filter-active
Log:
Make filter-active a wrapper for filter-active.py

Modified: scripts/filter-active
===================================================================
--- scripts/filter-active	2016-02-27 10:03:10 UTC (rev 4195)
+++ scripts/filter-active	2016-02-28 16:20:51 UTC (rev 4196)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 #
 # For a given set of release names, display all of the issues that need
@@ -16,13 +16,6 @@
 
 tdir=$1
 shift
+rel="$*"
 
-grepcmd="grep"
-while [ $# -ne 0 ]; do
-  grepcmd="$grepcmd -e ^$1:"
-  shift
-done
-
-cd $tdir
-$grepcmd $(ls | grep -v -e ^00 -e '~$' -e '#') | grep -v -e N/A -e pending -e released -e ignored
-
+exec "$(dirname "$0")/filter-active.py" -d "$tdir" -r ${rel// / -r } -n{N/A,pending,released,ignored}




More information about the kernel-sec-discuss mailing list