From c54add16860607f47a6b2df52c608ca91b2c75b7 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 6 Sep 2014 10:28:12 +0200 Subject: Change python to python2 in start scripts --- client/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/start.sh') diff --git a/client/start.sh b/client/start.sh index cc33f9c..2dce2f9 100755 --- a/client/start.sh +++ b/client/start.sh @@ -1,3 +1,3 @@ cd $JASPER_HOME/jasper/client rm -rf ../old_client -python main.py & +python2 main.py & -- cgit v1.3.1 From b0f2a9a461204b0c06bb73b85ea2a0aa3db25bdd Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 6 Sep 2014 10:32:43 +0200 Subject: Add shebang to start.sh --- client/start.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'client/start.sh') diff --git a/client/start.sh b/client/start.sh index 2dce2f9..b2b41bc 100755 --- a/client/start.sh +++ b/client/start.sh @@ -1,3 +1,4 @@ +#!/bin/bash cd $JASPER_HOME/jasper/client rm -rf ../old_client python2 main.py & -- cgit v1.3.1 From 7bfae56e8b49c2c11e4df82c2c6d4b4557ba2ae2 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 6 Sep 2014 10:38:55 +0200 Subject: Use executable flag and shebang instead of explicit interpreter in shell scripts. --- boot/boot.sh | 2 +- client/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'client/start.sh') diff --git a/boot/boot.sh b/boot/boot.sh index 7a79c06..f4e577d 100755 --- a/boot/boot.sh +++ b/boot/boot.sh @@ -14,4 +14,4 @@ LD_LIBRARY_PATH="/usr/local/lib" export LD_LIBRARY_PATH PATH=$PATH:/usr/local/lib/ export PATH -python2 boot.py & +./boot.py & diff --git a/client/start.sh b/client/start.sh index b2b41bc..052db18 100755 --- a/client/start.sh +++ b/client/start.sh @@ -1,4 +1,4 @@ #!/bin/bash cd $JASPER_HOME/jasper/client rm -rf ../old_client -python2 main.py & +./main.py & -- cgit v1.3.1