From d433d2961199cde3154c40074be1f832daceb748 Mon Sep 17 00:00:00 2001 From: JP Bochi Date: Mon, 15 Aug 2016 12:47:48 +0200 Subject: [PATCH] updates install script --- install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install b/install index 1247956..c677d70 100755 --- a/install +++ b/install @@ -1,3 +1,6 @@ #!/bin/bash -ln -fs `pwd`/drun /usr/local/bin/drun -ln -fs `pwd`/drun-node /usr/local/bin/drun-node +set -e +CURRENT_DIR=$(pwd) +set -x +ln -fs "$CURRENT_DIR"/drun /usr/local/bin/drun +ln -fs "$CURRENT_DIR"/drun-node /usr/local/bin/drun-node