blob: 774e3f3db48d9b6925722cc03e1f749c6836b91d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
rpm=${rpm:=rpm}
destdir="`pwd`"
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 --relocate /usr="`pwd`/../usr" $myrpm | \
sed -e "s,$destdir,,g" > $0.out
diff $0.out $0.exp || exit 1
|