From 95dd2e0d2c7bc4a592941dd2cf474851bc345f15 Mon Sep 17 00:00:00 2001 From: Tulio Brunoro Date: Thu, 18 Nov 2021 11:29:42 -0300 Subject: [PATCH] Revert breaking changes to customwiki2html.sh file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is an extra space when calling the `basename` command, which causes the following error: ``` Vimwiki: 'basename: extra operand ‘md’ Try ''basename --help'' for more information. ``` --- autoload/vimwiki/customwiki2html.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimwiki/customwiki2html.sh b/autoload/vimwiki/customwiki2html.sh index d8af94b..b3a68a2 100755 --- a/autoload/vimwiki/customwiki2html.sh +++ b/autoload/vimwiki/customwiki2html.sh @@ -40,7 +40,7 @@ CSSFILE="$6" [[ "$SYNTAX" == "markdown" ]] || { echo "Error: Unsupported syntax"; exit 2; }; -OUTPUT="$OUTPUTDIR/$(basename "$INPUT" . "$EXTENSION").html" +OUTPUT="$OUTPUTDIR/$(basename "$INPUT" ."$EXTENSION").html" # # Method 1: # FORCEFLAG=