Skip to content

Commit 0b5c04f

Browse files
Update checks.sh
1 parent 5b94ae2 commit 0b5c04f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/checks.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ for dir in "_just" "_just/js" "_just/style"; do
2727
echo " $( [ -d "_just" ] && echo "" || echo "" ) (root)/_just/"
2828
echo " $( [ -d "_just/js" ] && echo "" || echo "" ) (root)/_just/js/"
2929
echo " $( [ -d "_just/style" ] && echo "" || echo "" ) (root)/_just/style/"
30-
echo " ? (root)/_just/404.html\n"
31-
echo "End _just Checks\n"
32-
echo "----------------\n"
30+
echo -e " ? (root)/_just/404.html\n"
31+
echo -e "End _just Checks\n"
32+
echo -e "----------------\n"
3333
echo "Error: The $dir directory is missing. Please create it to proceed." >&2
3434
exit 1
3535
fi
@@ -40,9 +40,9 @@ if [ ! -f "_just/404.html" ]; then
4040
echo " ✓ (root)/_just/"
4141
echo " ✓ (root)/_just/js/"
4242
echo " ✓ (root)/_just/style/"
43-
echo " ✕ (root)/_just/404.html\n"
44-
echo "End _just Checks\n"
45-
echo "----------------\n"
43+
echo -e " ✕ (root)/_just/404.html\n"
44+
echo -e "End _just Checks\n"
45+
echo -e "----------------\n"
4646
echo "Error: The _just/404.html file is missing." >&2
4747
exit 1
4848
fi
@@ -51,6 +51,6 @@ echo -e "\n----------------\n\n_just Checks:\n"
5151
echo " ✓ (root)/_just/"
5252
echo " ✓ (root)/_just/js/"
5353
echo " ✓ (root)/_just/style/"
54-
echo " ✓ (root)/_just/404.html\n"
55-
echo "End _just Checks\n"
56-
echo "----------------\n"
54+
echo -e " ✓ (root)/_just/404.html\n"
55+
echo -e "End _just Checks\n"
56+
echo -e "----------------\n"

0 commit comments

Comments
 (0)