From 372d2bcdfbe03a4665398277c2a360edfa7e5636 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Wed, 23 Mar 2016 15:07:01 +0000 Subject: [PATCH] lisa_shell: fix lisa-help command run from anywhere in the filesystem When running lisa-help from directories other than the LISA home directory, the help information were not printed because the command was looking for LisaShell.txt in the current directory. This adds the absolute path to that file so that the help is printed from anywhere in the filesystem. Signed-off-by: Michele Di Giorgio --- src/shell/lisa_shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/lisa_shell b/src/shell/lisa_shell index db15d247..b3a2de62 100644 --- a/src/shell/lisa_shell +++ b/src/shell/lisa_shell @@ -49,7 +49,7 @@ echo " echo " .:: LISA Shell - HELP On-Line ::. " echo " " echo -ne "$LISASHELL_RESET$LISASHELL_GREEN" -cat LisaShell.txt +cat $LISA_HOME/LisaShell.txt echo -ne "$LISASHELL_DEFAULT" }