Source common/config.sh - gophercgis - Collection of gopher CGI/DCGI for geomyidae (HTM) hg clone https://bitbucket.org/iamleot/gophercgis (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) changeset 19019d48380be946d04dc82650cd6ea1ee3ee75f (DIR) parent df150043669a5a6a4e76a2aa598f166de347a6b8 (HTM) Author: Leonardo Taccari <iamleot@gmail.com> Date: Wed, 5 Dec 2018 00:41:07 Source common/config.sh (Now all cgi source-s it.) Diffstat: acmqueue/article.cgi | 1 + ansa/article.cgi | 1 + espresso/article.cgi | 1 + internazionale/article.cgi | 1 + lwn/article.cgi | 1 + nntp/nntp_body.cgi | 2 ++ reddit/c.cgi | 2 ++ rep/article.cgi | 1 + technologyreview/article.cgi | 1 + theatlantic/article.cgi | 1 + theguardian/article.cgi | 1 + 11 files changed, 13 insertions(+), 0 deletions(-) --- diff -r df150043669a -r 19019d48380b acmqueue/article.cgi --- a/acmqueue/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/acmqueue/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh url=$2 diff -r df150043669a -r 19019d48380b ansa/article.cgi --- a/ansa/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/ansa/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh # diff -r df150043669a -r 19019d48380b espresso/article.cgi --- a/espresso/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/espresso/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh # diff -r df150043669a -r 19019d48380b internazionale/article.cgi --- a/internazionale/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/internazionale/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh # diff -r df150043669a -r 19019d48380b lwn/article.cgi --- a/lwn/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/lwn/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh # diff -r df150043669a -r 19019d48380b nntp/nntp_body.cgi --- a/nntp/nntp_body.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/nntp/nntp_body.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,7 @@ #!/bin/sh +. ../common/config.sh + NNTP_SERVER="news.gmane.org" NNTP_PORT="119" NNTP_CMD="nc ${NNTP_SERVER} ${NNTP_PORT}" diff -r df150043669a -r 19019d48380b reddit/c.cgi --- a/reddit/c.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/reddit/c.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,7 @@ #!/bin/sh +. ../common/config.sh + case "$2" in */*) subreddit="${2%%/*}" diff -r df150043669a -r 19019d48380b rep/article.cgi --- a/rep/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/rep/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh # diff -r df150043669a -r 19019d48380b technologyreview/article.cgi --- a/technologyreview/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/technologyreview/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh # diff -r df150043669a -r 19019d48380b theatlantic/article.cgi --- a/theatlantic/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/theatlantic/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh url=$2 diff -r df150043669a -r 19019d48380b theguardian/article.cgi --- a/theguardian/article.cgi Wed Dec 05 00:36:19 2018 +0100 +++ b/theguardian/article.cgi Wed Dec 05 00:41:07 2018 +0100 @@ -1,5 +1,6 @@ #!/bin/sh +. ../common/config.sh . ../common/html.sh #