#! /bin/bash # Compiler setup script. Links up the cramfs dev image so that it is suitable for # compiling QT stuff. # # Bruce Kroeze # ver 1.0 HOME_DIR=/home/zaurus MOUNT_DIR="$HOME_DIR/develop" DO_PROMPT="true" function mklink () { if [ ! -e "$1" ] then if [ ! -f $2 ] then echo "Warning link source $1 not found, linking anyway" else echo "Warning link source $1 not found, leaving existing target alone" fi fi # if [ -f $2 ] # then # mv $2 $2.bak # fi ln -sf $1 $2 } function fixprofile () { cat >>/etc/profile <