Use the basename
This commit is contained in:
parent
4ebb93dcac
commit
9156335945
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
command -v cmark >/dev/null || (echo "cmark: command not found" >&2 && exit 1)
|
||||
test -n "$2" || (echo "Usage: $0 \"Document title\" filename1 [filename2...]" >&2 && exit 1)
|
||||
test -n "$2" || (echo "Usage: $(basename "$0") \"Document title\" filename1 [filename2...]" >&2 && exit 1)
|
||||
cat << __EOF__
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
|
Loading…
Reference in a new issue