mklive.sh.in: use LD_LIBRARY_PATH to generate the local repo index.

This commit is contained in:
Juan RP 2012-12-10 14:34:18 +01:00
parent 1f2372b35b
commit c9821add5c
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ generate_local_repository() {
bpkg=$repo/$binpkg
cp -f $bpkg $ROOTFS/packages
done
LD_PRELOAD="$ROOTFS/usr/lib/libxbps.so" \
LD_LIBRARY_PATH="$ROOTFS/usr/lib" \
$ROOTFS/usr/sbin/$XBPS_RINDEX_CMD -a $ROOTFS/packages/*.xbps 2>&1 >>$LOGFILE
rm -f $ROOTFS/packages/index-files.plist
}