From 997f742161d509794043c173af2c1d0cae059f79 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 20 May 2021 18:19:00 +0100 Subject: fix md links --- packages/md.source.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/md.source.sh b/packages/md.source.sh index ce190ddb..e7bfae11 100644 --- a/packages/md.source.sh +++ b/packages/md.source.sh @@ -15,7 +15,7 @@ md::make_link () { local link="$1"; shift local descr="$1"; shift - if $GREP -F -q '://' <<< "$link"; then + if ! $GREP -F -q '://' <<< "$link"; then link=${link/.gmi/.md} fi if [[ -z "$descr" ]]; then -- cgit v1.2.3