summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2017-09-01 09:45:49 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2017-09-01 09:45:49 +0200
commit23309055437a1e302d08e9e3defa3cf9d991561c (patch)
tree98fa1f023e4fa3fa5427180d0b1cd67ed28c9c00 /dist
parent9765dbd388ac09f0f5cd97c7fa7d5bbb06d60abf (diff)
Avoid recursive link in components when re-running make install.
Diffstat (limited to 'dist')
-rwxr-xr-xdist/post_install.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/dist/post_install.sh b/dist/post_install.sh
index f97cb0b1c0e..eaa7baff6cd 100755
--- a/dist/post_install.sh
+++ b/dist/post_install.sh
@@ -62,13 +62,13 @@ mkdir -p $INSTALLPATH/var/vespa/cmdlines/
mkdir -p $INSTALLPATH/var/zookeeper/version-2/
mkdir -p $INSTALLPATH/sbin
-ln -s $PREFIX/lib/jars/config-model-fat.jar $INSTALLPATH/conf/configserver-app/components/config-model-fat.jar
-ln -s $PREFIX/lib/jars/configserver-jar-with-dependencies.jar $INSTALLPATH/conf/configserver-app/components/configserver.jar
-ln -s $PREFIX/lib/jars/orchestrator-jar-with-dependencies.jar $INSTALLPATH/conf/configserver-app/components/orchestrator.jar
-ln -s $PREFIX/lib/jars/node-repository-jar-with-dependencies.jar $INSTALLPATH/conf/configserver-app/components/node-repository.jar
-ln -s $PREFIX/lib/jars/zkfacade-jar-with-dependencies.jar $INSTALLPATH/conf/configserver-app/components/zkfacade.jar
-ln -s $PREFIX/conf/configserver-app/components $INSTALLPATH/lib/jars/config-models
-ln -s vespa-storaged-bin $INSTALLPATH/sbin/vespa-distributord-bin
+ln -sf $PREFIX/lib/jars/config-model-fat.jar $INSTALLPATH/conf/configserver-app/components/config-model-fat.jar
+ln -sf $PREFIX/lib/jars/configserver-jar-with-dependencies.jar $INSTALLPATH/conf/configserver-app/components/configserver.jar
+ln -sf $PREFIX/lib/jars/orchestrator-jar-with-dependencies.jar $INSTALLPATH/conf/configserver-app/components/orchestrator.jar
+ln -sf $PREFIX/lib/jars/node-repository-jar-with-dependencies.jar $INSTALLPATH/conf/configserver-app/components/node-repository.jar
+ln -sf $PREFIX/lib/jars/zkfacade-jar-with-dependencies.jar $INSTALLPATH/conf/configserver-app/components/zkfacade.jar
+ln -snf $PREFIX/conf/configserver-app/components $INSTALLPATH/lib/jars/config-models
+ln -sf vespa-storaged-bin $INSTALLPATH/sbin/vespa-distributord-bin
# Setup default enviroment
mkdir -p $INSTALLPATH/conf/vespa