aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2017-08-27 09:10:42 +0000
committerGitHub <noreply@github.com>2017-08-27 09:10:42 +0000
commitf301d27b4bf04b7808f65c0b092b3ce1109bb8e8 (patch)
tree50f885075f708a49560e537f249a93deb8126ffd
parentMerge pull request #1143 from cavebeat/yacy (diff)
parentmake add: remove final dot (diff)
downloadawesome-selfhosted-f301d27b4bf04b7808f65c0b092b3ce1109bb8e8.tar.gz
awesome-selfhosted-f301d27b4bf04b7808f65c0b092b3ce1109bb8e8.zip
Merge pull request #1128 from Kickball/nodiscc-patch-2
make add: remove final dot
-rwxr-xr-xMakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index df196650..00b366ae 100755
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ add:
read Name; if [ -z "$$Name" ]; then printf 'Missing software name!\n'; exit 1 ; fi ;\
printf 'Homepage URL: ' ;\
read Url; if [ -z "$$Url" ]; then printf 'Missing main project URL!\n'; exit 1 ; fi ;\
- printf 'Description (max 250 char): ' ;\
+ printf 'Description (max 250 characters, ending with .): ' ;\
read Description; if [ -z "$$Description" ]; then printf 'Missing description!\n'; exit 1 ; fi ;\
printf 'License: ' ;\
read License; if [ -z "$$License" ]; then printf 'Missing license!\n'; exit 1 ; fi ;\
@@ -49,11 +49,11 @@ add:
printf 'Source code URL (if different from Homepage): ' ;\
read Source; if [ -z "$$Source" ]; then CSource="" ; else CSource="[Source Code]($$Source)" ; fi ;\
if [[ "$$CSource" == "" && "$$Demo" == "" ]]; \
- then Moreinfo="";\ printf "debug" ;\
+ then Moreinfo=""; \
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\`"
+ echo " * [$$Name]($$Url) - $${Description} $${Moreinfo} \`$$License\` \`$$Language\`"
#TODO ask for category and insert item accordingly