]> git.plutz.net Git - shellwiki/commitdiff
export config variables for macros
authorPaul Hänsch <paul@plutz.net>
Thu, 27 Jul 2023 07:16:35 +0000 (09:16 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 27 Jul 2023 07:16:35 +0000 (09:16 +0200)
index.cgi

index 61a8bb007c5d0807eaf9d6983d34637e74e583fc..5d168230371aa30653da759ea9b8f4acbbb0ba0f 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -6,9 +6,9 @@
 . "${_EXEC}/tools.sh"
 . "${_EXEC}/acl.sh"
 
-REV_PAGES=${REV_PAGES:-true}
-REV_ATTACHMENTS=${REV_ATTACHMENTS:-false}
-WIKI_THEME="${WIKI_THEME:-default}"
+export REV_PAGES=${REV_PAGES:-true}
+export REV_ATTACHMENTS=${REV_ATTACHMENTS:-false}
+export WIKI_THEME="${WIKI_THEME:-default}"
 
 which git >/dev/null || REV_PAGES=false
 [ "$REV_PAGES" != true ] && REV_ATTACHMENTS=false