X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Fdiffgdbdir;h=c572cf411dd3e875c5f40af2b00259a9fd330109;hp=636fb2c6f108ca225e07009257d245a1ce3875ce;hb=7189c344efe24bcb330556f780b07f87f75368ba;hpb=699078c2691ad8382bc45494fb57866e70d858ac diff --git a/bin/diffgdbdir b/bin/diffgdbdir index 636fb2c..c572cf4 100755 --- a/bin/diffgdbdir +++ b/bin/diffgdbdir @@ -1,6 +1,7 @@ #! /bin/sh x="*.log" +x2="foobar" o="" while true;do if [ "$1" = "-r" ];then @@ -19,6 +20,11 @@ while true;do shift continue fi + if [ "$1" = "pie" ];then + x2="*pie*" + shift + continue + fi break done @@ -36,7 +42,7 @@ function diffitraw 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 } function diffit @@ -87,5 +93,6 @@ if [ "$1" != "${1#tests/}" -a -d $1 ];then diffed=true fi if ! $diffed;then - echo "NOT FOUND: $1 $2" + diffitraw $1 $2 + #echo "NOT FOUND: $1 $2" fi