summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/list-bugs.sh')
-rwxr-xr-xscripts/list-bugs.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/list-bugs.sh b/scripts/list-bugs.sh
new file mode 100755
index 000000000..273c7bdc8
--- /dev/null
+++ b/scripts/list-bugs.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+ebuilds=$(ls *-*/* -d)
+
+#declare -a bugs ebuilds cc
+
+#a=0
+#for i in ${ebuildsin}; do
+# ebuilds[$a]=${i}
+# a=$[ $a+1 ];
+#done
+# second loop
+#a=0
+#for i in ${bugsin}; do
+# bugs[$a]=${i}
+# a=$[ $a+1 ];
+#done
+
+for i in $ebuilds; do
+ bug=$(grep -oE "[0-9]{2}[0-9]+" $i/ChangeLog | tail -n 1)
+ echo $i - bug $bug
+done
+