Work around failing --prefix ...

CVS patchset: 2865
CVS date: 1999/03/09 16:53:52
This commit is contained in:
jbj 1999-03-09 16:53:52 +00:00
parent a44cb6f19e
commit d559a8afd3
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ destdir="`dirname $destdir`"
# ../../rpm --rcfile ../../tests//usr/lib/rpm/rpmrc -i -vv --nodeps --prefix=/home/devel/jbj/src/rpm/tests/hello-test/../usr ../usr/src/redhat/RPMS/sparc/hello-1.0-1.sparc.rpm
#
$rpm -i -vv --nodeps --prefix="`pwd`/../usr" $myrpm | \
$rpm -i -vv --nodeps --relocate /usr="`pwd`/../usr" $myrpm | \
sed -e "s,$destdir,,g" > $0.out
diff $0.out $0.exp || exit 1