Paul Klumpp 12 years ago
parent
commit
b71aca2c09
2 changed files with 2 additions and 2 deletions
  1. 1 1
      is_cimsqwbot.sh
  2. 1 1
      startcimsqwbot.sh

+ 1 - 1
is_cimsqwbot.sh

@@ -45,7 +45,7 @@ if [ "$INSTALL" == "1" ]; then
 
 
 	fi
 	fi
 
 
-	# now, lets create a starting script in cimsqwbot
+	# now, lets check the starting script to be executable in cimsqwbot
 	if [ -f "$STARTSCRIPTNAME" ]; then
 	if [ -f "$STARTSCRIPTNAME" ]; then
 		chmod u+x "$STARTSCRIPTNAME"
 		chmod u+x "$STARTSCRIPTNAME"
 	fi
 	fi

+ 1 - 1
startcimsqwbot.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-BOTPATH="$pwd"
+BOTPATH="$(pwd)"
 LIBPATH="$BOTPATH/../libqwclient/"
 LIBPATH="$BOTPATH/../libqwclient/"
 if [ "$(which realpath)" != "" ]; then
 if [ "$(which realpath)" != "" ]; then
 	LIBPATH="$(realpath $LIBPATH)"
 	LIBPATH="$(realpath $LIBPATH)"