| 
														
															@@ -53,26 +53,26 @@ if [ "$INSTALL" == "1" ]; then 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 #!/bin/sh 
														 | 
														
														 | 
														
															 #!/bin/sh 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		BOTPATH="\$pwd" 
														 | 
														
														 | 
														
															 		BOTPATH="\$pwd" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		LIBPATH="$BOTPATH/../libqwclient/" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		if [ "`which realpath`" != "" ]; then 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			LIBPATH="$(realpath $LIBPATH)" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		LIBPATH="\$BOTPATH/../libqwclient/" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		if [ "\$(which realpath)" != "" ]; then 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			LIBPATH="\$(realpath \$LIBPATH)" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		fi 
														 | 
														
														 | 
														
															 		fi 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		echo BOTPATH: "$BOTPATH" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		echo LIBPATH: "$LIBPATH" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		echo BOTPATH: "\$BOTPATH" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		echo LIBPATH: "\$LIBPATH" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		while [ 1 ]; do 
														 | 
														
														 | 
														
															 		while [ 1 ]; do 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			cd "$LIBPATH" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			cd "\$LIBPATH" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			git pull 
														 | 
														
														 | 
														
															 			git pull 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			qmake 
														 | 
														
														 | 
														
															 			qmake 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			make 
														 | 
														
														 | 
														
															 			make 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			cd "$BOTPATH" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			cd "\$BOTPATH" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			git pull 
														 | 
														
														 | 
														
															 			git pull 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			qmake 
														 | 
														
														 | 
														
															 			qmake 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			make 
														 | 
														
														 | 
														
															 			make 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			echo started at \$(date) >> runlog.log 
														 | 
														
														 | 
														
															 			echo started at \$(date) >> runlog.log 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			LD_LIBRARY_PATH=$LIBPATH stdbuf -oL ./cimsqwbot | tee -a runlog.log 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			LD_LIBRARY_PATH=\$LIBPATH stdbuf -oL ./cimsqwbot | tee -a runlog.log 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			echo crashed at \$(date) - lol, we never crash. >> runlog.log 
														 | 
														
														 | 
														
															 			echo crashed at \$(date) - lol, we never crash. >> runlog.log 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			sleep 3 
														 | 
														
														 | 
														
															 			sleep 3 
														 |