xbps-src: XBPS_CACHEDIR *must be* /cachedir in chroot, omg.

This commit is contained in:
Juan RP 2011-06-28 17:27:01 +02:00
parent daf986ed33
commit b0cf505357
1 changed files with 1 additions and 3 deletions

View File

@ -77,6 +77,7 @@ XBPS_MASTERDIR=/
XBPS_CFLAGS="$XBPS_CFLAGS"
XBPS_CXXFLAGS="$XBPS_CFLAGS"
XBPS_LDFLAGS="$XBPS_LDFLAGS"
XBPS_CACHEDIR=/cachedir
XBPS_FETCH_CMD="xbps-uhelper.static fetch"
XBPS_COMPRESS_CMD="$XBPS_COMPRESS_CMD"
_EOF
@ -90,9 +91,6 @@ fi
if [ -n "$XBPS_COMPRESS_LEVEL" ]; then
echo "XBPS_COMPRESS_LEVEL=$XBPS_COMPRESS_LEVEL" >> $XBPSSRC_CF
fi
if [ -n "$XBPS_CACHEDIR" ]; then
echo "XBPS_CACHEDIR=$XBPS_CACHEDIR" >> $XBPSSRC_CF
fi
echo "# End of configuration file." >> $XBPSSRC_CF