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