summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index bf1ab9b..710a924 100755
--- a/build
+++ b/build
@@ -507,7 +507,7 @@ for SPECFILE in $SPECFILES ; do
if test "$SPECFILE" != "${SPECFILE%.src.rpm}" ; then
echo processing src rpm `pwd`/$SPECFILE...
- TOPDIR=`chroot $BUILD_ROOT rpm --eval '%_topdir'`
+ TOPDIR=`rpm --eval '%_topdir'`
rm -rf $BUILD_ROOT$TOPDIR
mkdir -p $BUILD_ROOT$TOPDIR/SOURCES $BUILD_ROOT$TOPDIR/SPECS
rpm -i --nodigest --nosignature --root $BUILD_ROOT $SPECFILE || {