git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rpmsafereduce: revert
[nethome.git]
/
bin
/
diffgdbdir
diff --git
a/bin/diffgdbdir
b/bin/diffgdbdir
index
ef1941b
..
c572cf4
100755
(executable)
--- a/
bin/diffgdbdir
+++ b/
bin/diffgdbdir
@@
-1,6
+1,7
@@
#! /bin/sh
x="*.log"
#! /bin/sh
x="*.log"
+x2="foobar"
o=""
while true;do
if [ "$1" = "-r" ];then
o=""
while true;do
if [ "$1" = "-r" ];then
@@
-19,6
+20,11
@@
while true;do
shift
continue
fi
shift
continue
fi
+ if [ "$1" = "pie" ];then
+ x2="*pie*"
+ shift
+ continue
+ fi
break
done
break
done
@@
-28,17
+34,21
@@
if [ $# != 2 ];then
fi
diffed=false
fi
diffed=false
-function diffit
+function diffit
raw
{
{
- dir1=$1
/out
- dir2=$2
/out
+ dir1=$1
+ dir2=$2
if [ ! -e "$dir2" ];then
echo "MISSING: $dir1 $dir2"
return
fi
if [ ! -e "$dir2" ];then
echo "MISSING: $dir1 $dir2"
return
fi
- diffgdb $o -x
"$x
" $dir1 $dir2
+ diffgdb $o -x
rpm-qa -x "$x" -x "$x2
" $dir1 $dir2
diffed=true
}
diffed=true
}
+function diffit
+{
+ diffitraw $1/out $2/out
+}
if [ -f "$1" -a ! -e "${1%.tar.xz}" ];then
(
if [ -f "$1" -a ! -e "${1%.tar.xz}" ];then
(
@@
-78,6
+88,11
@@
if [ -d $1/out ];then
diffit $1 $2
diffed=true
fi
diffit $1 $2
diffed=true
fi
+if [ "$1" != "${1#tests/}" -a -d $1 ];then
+ diffitraw $1 $2
+ diffed=true
+fi
if ! $diffed;then
if ! $diffed;then
- echo "NOT FOUND: $1 $2"
+ diffitraw $1 $2
+ #echo "NOT FOUND: $1 $2"
fi
fi