summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-06-14 11:28:44 +0200
committerAndreas Maunz <andreas@maunz.de>2011-06-14 11:28:44 +0200
commit8731d04cb9e3733ed716d6318eb482ece4ec1e7f (patch)
tree80dc18c3b9e4a2a7c941eeaf023c1adf037b0df4 /README
parent3a8191b7308bc8548f6f3057ee4b527900f014c1 (diff)
parent802237f57ffb1087b3bf649e01a38abef3f78839 (diff)
Merge branch 'development' of github.com:opentox/install into development
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 1a051b9..25aa733 100644
--- a/README
+++ b/README
@@ -52,8 +52,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."
}