xbps-src: export CCACHE_DIR is XBPS_CCACHE is set.

This commit is contained in:
Juan RP 2011-07-19 00:22:52 +02:00
parent 0c94a67f88
commit c586459062
2 changed files with 12 additions and 1 deletions

View file

@ -89,7 +89,9 @@ _EOF
if [ -n "$XBPS_HOSTDIR" ]; then
echo "XBPS_HOSTDIR=/host" >> $XBPSSRC_CF
fi
if [ -n "$XBPS_CCACHE" ]; then
echo "XBPS_CCACHE=$XBPS_CCACHE" >> $XBPSSRC_CF
fi
echo "# End of configuration file." >> $XBPSSRC_CF
if [ -d $XBPS_MASTERDIR/tmp ]; then