diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-10-18 19:11:19 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-10-18 19:11:19 +0000 |
commit | c013c32abb63793f7e24ea936a210704c80c5079 (patch) | |
tree | 4af03649d72b04251f881da3659e3fd7abee0708 /code | |
parent | 84112a14b03fd9eb2950930f8b4dbaf6efa17f0b (diff) | |
download | ioquake3-aero-c013c32abb63793f7e24ea936a210704c80c5079.tar.gz ioquake3-aero-c013c32abb63793f7e24ea936a210704c80c5079.zip |
fix readlink() for /bin/sh != bash
git-svn-id: svn://svn.icculus.org/quake3/trunk@949 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/unix/setup/ioquake3.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/unix/setup/ioquake3.sh b/code/unix/setup/ioquake3.sh index 0fd1295..fbef567 100644 --- a/code/unix/setup/ioquake3.sh +++ b/code/unix/setup/ioquake3.sh @@ -5,7 +5,7 @@ readlink() { if [ -L "$path" ]; then ll="$(LC_ALL=C ls -l "$path" 2> /dev/null)" && - echo "${ll/* -> }" + echo "${ll##* -> }" else return 1 fi |