diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-26 14:19:51 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-26 14:19:51 +0800 |
commit | 0cb8e9a9bb2c5be508b3f96f94192ae5f714aae0 (patch) | |
tree | b484adfb5d634f5eeee41ec13d104dd1b78990c5 /tools | |
parent | cf91538b181ae7c31bef9124a75039ff05ef0ed3 (diff) |
Update script about slide
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/markdown/reveal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/markdown/reveal b/tools/markdown/reveal index 4873517..17321d5 100755 --- a/tools/markdown/reveal +++ b/tools/markdown/reveal | |||
@@ -1,6 +1,6 @@ | |||
1 | #! /bin/bash | 1 | #! /bin/bash |
2 | 2 | ||
3 | if [[ ! $1 =~ '.md' ]]; then | 3 | if [[ ! $1 =~ (.md|.slide)$ ]]; then |
4 | echo markdown file is not given >&2 | 4 | echo markdown file is not given >&2 |
5 | exit 1 | 5 | exit 1 |
6 | fi | 6 | fi |