mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
Add sys/pie
This commit is contained in:
parent
d0ddc1a226
commit
cbe598e3a2
5
Makefile
5
Makefile
@ -1,7 +1,7 @@
|
||||
-include config-user.mk
|
||||
include global.mk
|
||||
|
||||
PREVIOUS_RELEASE=0.10.0
|
||||
PREVIOUS_RELEASE=0.10.1
|
||||
|
||||
R2R=radare2-regressions
|
||||
R2R_URL=$(shell doc/repo REGRESSIONS)
|
||||
@ -345,6 +345,9 @@ quality:
|
||||
menu nconfig:
|
||||
./sys/menu.sh || true
|
||||
|
||||
pie:
|
||||
sys/pie.sh ${PREVIOUS_RELEASE}
|
||||
|
||||
include ${MKPLUGINS}
|
||||
|
||||
.PHONY: all clean distclean mrproper install symstall uninstall deinstall strip
|
||||
|
21
sys/pie.sh
Executable file
21
sys/pie.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
F="$1"
|
||||
|
||||
if [ -z "${F}" ]; then
|
||||
echo "Usage: sys/pie.sh [last-release-tag]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git log $F..@ > .ch.txt
|
||||
|
||||
WHO=`cat .ch.txt |grep ^Author|sort -u | cut -d '<' -f 1 | cut -d ':' -f 2 | cut -c 2- |sed -e 's, ,_,g' | sed -e 's,_$,,'`
|
||||
|
||||
for a in ${WHO} ; do
|
||||
USER=`echo $a | sed -e 's,_, ,g'`
|
||||
CNTR=`grep -re "${USER}" .ch.txt | wc -l |awk '{print $1}'`
|
||||
echo "$CNTR\t$USER"
|
||||
done
|
||||
|
||||
rm -f .ch.txt
|
||||
|
Loading…
Reference in New Issue
Block a user