From 26852b73711bb9b61aae43722beb2a482a69bb0a Mon Sep 17 00:00:00 2001 From: Jarek Lipski Date: Sun, 24 Apr 2016 22:55:26 +0200 Subject: [PATCH] Fix Makefile: source and demo links, invert order --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 75dff78a..6c090d42 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ add: read Source; if [ -z "$$Source" ]; then CSource="" ; else CSource="[Source Code]($$Source)" ; fi ;\ if [[ "$$CSource" == "" && "$$Demo" == "" ]]; \ then Moreinfo="";\ printf "debug" ;\ - else Moreinfo=$$(echo "($$CSource$$CDemo)" | sed 's|)\[|\], [|g') ;\ + else Moreinfo=$$(echo "($$CDemo$$CSource)" | sed 's|)\[|), [|g') ;\ fi ;\ echo -e "Copy this entry to your clipboard, paste it in the appropriate category:\n\n" ;\ echo " * [$$Name]($$Url) - $${Description}. $$Moreinfo \`$$License\` \`$$Language\`" @@ -47,4 +47,4 @@ add: #TODO ask for category and insert item accordingly #TODO check for unsorted entries #TODO automatically sort entries/sections -#TODO autoupdate contributors list \ No newline at end of file +#TODO autoupdate contributors list