test-rebuild.sh: for now just output to stdout

epel9
Jens Petersen 12 years ago
parent 395cffc7aa
commit 880c4fcd5d

@ -37,12 +37,6 @@ for i in $PKGS; do
for k in list requires provides; do for k in list requires provides; do
rpm -qp --$k $i.rpm | grep -v rpmlib > ../$TMP/$i.$k.test rpm -qp --$k $i.rpm | grep -v rpmlib > ../$TMP/$i.$k.test
rpm -q --$k $i | grep -v rpmlib > ../$TMP/$i.$k.installed rpm -q --$k $i | grep -v rpmlib > ../$TMP/$i.$k.installed
DIFF=$(diff -u ../$TMP/$i.$k.installed ../$TMP/$i.$k.test || :) diff -u ../$TMP/$i.$k.installed ../$TMP/$i.$k.test || :
if [ -z "$DIFF" ]; then
echo "$i $k: same"
else
echo $DIFF
echo $DIFF > ../$k.$i.diff
fi
done done
done done

Loading…
Cancel
Save