Make /usr/bin/cc link to gcc in the chroot.
--HG-- extra : convert_revision : 7fe8854837724febb381f19444c5ac81c39a8d33
This commit is contained in:
parent
996b1df5f7
commit
1586ab07e9
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue