#!/bin/sh DBG=echo rpm=${rpm:=rpm} destdir="`pwd`" destdir="`dirname $destdir`" ${DBGX} $rpm --showrc 2>&1 | sed -e "s,$destdir,," > $0.out diff $0.out $0.exp || exit 0