aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-10-18 19:11:19 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-10-18 19:11:19 +0000
commitc013c32abb63793f7e24ea936a210704c80c5079 (patch)
tree4af03649d72b04251f881da3659e3fd7abee0708 /code
parent84112a14b03fd9eb2950930f8b4dbaf6efa17f0b (diff)
downloadioquake3-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.sh2
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