summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2011-06-09 04:31:39 -0700
committerdavor <vorgrimmlerdavid@gmx.de>2011-06-09 04:31:39 -0700
commit802237f57ffb1087b3bf649e01a38abef3f78839 (patch)
tree6d5385b97faea43e5724aa2a1b315be110452e11 /README
parente51c81eb01668fd92156b4a8aacc3e0c8584dc62 (diff)
updated missing variables in linking routine
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 7fa7371..7a1ba8d 100644
--- a/README
+++ b/README
@@ -50,8 +50,8 @@ otupdate() {
if ! [ -h $LINK_DIR ]; then
echo "Warning! Your lib $LINK_DIR is no symlink. Linking back for you..."
rm -rf "$LINK_DIR~"
- mv "$LINK_DIR" "$LINK_DIR~" >>$LOG 2>&1
- ln -sf $HOME/opentox-ruby/www/opentox/opentox-ruby/lib $GEM_LIB
+ mv "$LINK_DIR" "$LINK_DIR~"
+ ln -sf $HOME/opentox-ruby/www/opentox/opentox-ruby/lib `echo ${LINK_DIR::${#LINK_DIR}-4}`
fi
echo "Please execute 'otstart' to restart."
}