diff options
Diffstat (limited to 'md.sh')
-rwxr-xr-x | md.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -32,10 +32,10 @@ OUT="$1/index.html" [ "$1" ] || { echo "$usage" ; exit 1 ; } -[ -f $IN ] || { printf "%s \tFATAL: %s not found\n" "[->]" "$IN" ; exit 1 ; } -[ -f md-header ] || { printf "%s \tFATAL: md-header not found\n" "[->]" ; exit 1 ; } -[ -f md-footer ] || { printf "%s \tFATAL: md-footer not found\n" "[->]" ; exit 1 ; } -[ -e $(which lowdown) ] || { printf "%s \tFATAL: lowdown not found\n" "[->]" ; exit 1 ; } +[ -f $IN ] || { printf "[err] \t%s not found\n" "$IN" ; exit 1 ; } +[ -f md-header ] || { printf "[err] \tmd-header not found\n" ; exit 1 ; } +[ -f md-footer ] || { printf "[err] \tmd-footer not found\n" ; exit 1 ; } +[ -e $(which lowdown) ] || { printf "[err] \tlowdown not found\n" ; exit 1 ; } cat md-header > $OUT lowdown -Thtml --html-no-owasp $IN >> $OUT |