#!/bin/sh USER=`whoami` PROJECT='guarantytitle.net' PROJECT_WWW_DIR="/home/${USER}/public_html/${PROJECT}/trunk/www" SYMLINK="/home/${USER}/public_html/site2" cd "/home/${USER}/public_html" if [[ ! -a ${SYMLINK} ]] ; then ln -s -T ${PROJECT_WWW_DIR} ${SYMLINK} fi