use cd, dirname, and pwd to determine path instead of readlink (Mac fix)

This commit is contained in:
Amir Malik 2010-12-20 18:02:43 -08:00
parent 40a653f555
commit 471af3433c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ usage() {
}
NAME="$(basename $0)"
HERE=$(readlink -f $(dirname $0))
HERE="$(cd "$(dirname "$0")" && pwd)"
WEB_PORT="6080"
PROXY_PORT="6081"
VNC_DEST="localhost:5900"