Skip to content

Commit

Permalink
Fixed summary order issue..again lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Fong Yoong committed Dec 22, 2020
1 parent 8f2059a commit 330f9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion createGithubPagesFromReadme.sh
Expand Up @@ -35,7 +35,7 @@ function createSummary(){
touch SUMMARY.md
echo '# Summary' > SUMMARY.md
echo "" >> SUMMARY.md
for f in $(ls -tr | grep Chapter | env LC_COLLATE=C sort); do
for f in $(ls -tr | grep Chapter_ | sort -V); do
# Get the first line of the file
local firstLine=$(sed -n '1p' $f)
local cleanTitle=$(echo $firstLine | cut -c 3-)
Expand Down

0 comments on commit 330f9cb

Please sign in to comment.