From 8cf24ca319f23efac5a58b1df7ba96ad6e51b645 Mon Sep 17 00:00:00 2001 From: maride Date: Fri, 4 May 2018 19:51:58 +0200 Subject: [PATCH] Use correct echo prefixes --- run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.sh b/run.sh index 27429c5..1325120 100755 --- a/run.sh +++ b/run.sh @@ -3,7 +3,7 @@ ECHOPREFIX=" => " NULLPREFIX=" " -echo -e "=> Hello, this is \033[31mtexbox\033[0m" +echo -e "$ECHOPREFIX Hello, this is \033[31mtexbox\033[0m" if test "$(ls -A /tex)"; then # Directory not empty - user mounted directory \o/ @@ -23,7 +23,7 @@ if test "$(ls -A /tex)"; then texi2pdf ../$TARGET else # Directory is empty - echo "=> Please mount your directory to /tex" - echo " See you soon." + echo "$ECHOPREFIX Please mount your directory to /tex" + echo "$NULLPREFIX See you soon." fi