mklinks
438 Bytes
#!/bin/bash
current_path=`pwd`
cd ..
rfroot=`pwd`
cd $current_path
if [ "$1" = "bcp" ]; then
rm -f bbplayer/lib/libbcppli
rm -f bbplayer/hw2
rm -f $ROOT/PR
ln -sf ${current_path}/bbplayer $ROOT/PR
ln -sf ${rfroot}/hw $ROOT/PR/hw2
ln -sf ${rfroot}/lib/libbcppli $ROOT/PR/lib/libbcppli
else
if [ "$1" = "rcp" ]; then
rm -f $ROOT/PR
ln -sf ${current_path}/n64os20l $ROOT/PR
else
echo "#### only for rcp and bcp ####"
fi
fi