Make /usr/bin/cc link to gcc in the chroot.

--HG--
extra : convert_revision : 7fe8854837724febb381f19444c5ac81c39a8d33
This commit is contained in:
Juan RP 2008-10-23 17:41:36 +02:00
parent 996b1df5f7
commit 1586ab07e9
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ if [ ! -f $XBPS_MASTERDIR/.xbps_perms_done ]; then
touch $XBPS_MASTERDIR/.xbps_perms_done
fi
if [ ! -h $XBPS_MASTERDIR/usr/bin/cc ]; then
cd $XBPS_MASTERDIR/usr/bin && ln -s gcc cc
fi
for f in bin sbin tmp var sys proc dev xbps; do
[ ! -d $XBPS_MASTERDIR/$f ] && mkdir -p $XBPS_MASTERDIR/$f
done