xbps-src: set XBPS_CACHEDIR in conf file for chroot ops.

This commit is contained in:
Juan RP 2011-06-28 17:18:48 +02:00
parent 8106a220a5
commit daf986ed33
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,10 @@ 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
if [ -d $XBPS_MASTERDIR/tmp ]; then