Use correct echo prefixes

This commit is contained in:
maride 2018-05-04 19:51:58 +02:00
parent 9c28c6afca
commit 8cf24ca319

6
run.sh
View File

@ -3,7 +3,7 @@
ECHOPREFIX=" => " ECHOPREFIX=" => "
NULLPREFIX=" " 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 if test "$(ls -A /tex)"; then
# Directory not empty - user mounted directory \o/ # Directory not empty - user mounted directory \o/
@ -23,7 +23,7 @@ if test "$(ls -A /tex)"; then
texi2pdf ../$TARGET texi2pdf ../$TARGET
else else
# Directory is empty # Directory is empty
echo "=> Please mount your directory to /tex" echo "$ECHOPREFIX Please mount your directory to /tex"
echo " See you soon." echo "$NULLPREFIX See you soon."
fi fi