changeset 767:fec01f044474

improve install script
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 01 Aug 2016 01:44:39 -0600
parents 4f880e2663a2
children ef0fc9ad30c1
files scripts/install.sh
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 4f880e2663a2 -r fec01f044474 scripts/install.sh
--- a/scripts/install.sh	Fri Jul 29 01:26:36 2016 -0600
+++ b/scripts/install.sh	Mon Aug 01 01:44:39 2016 -0600
@@ -1,5 +1,9 @@
+set -e
+
 cd `dirname $0`
 
+mkdir -p /usr/local/bin
+
 cat >/usr/local/bin/luan <<End
 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done