You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/06/14 11:33:12 UTC
[whimsy] branch master updated: Eliminate magic strings
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 71e16bc Eliminate magic strings
71e16bc is described below
commit 71e16bcf699cd867f5e9ebe79a0bb4e2a7db2dd5
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jun 14 12:33:02 2020 +0100
Eliminate magic strings
---
www/board/publish_minutes.cgi | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/www/board/publish_minutes.cgi b/www/board/publish_minutes.cgi
index aaf5597..0831852 100755
--- a/www/board/publish_minutes.cgi
+++ b/www/board/publish_minutes.cgi
@@ -14,11 +14,10 @@ unless secretary
exit
end
-CONTENT = 'asf/infrastructure/site/trunk/content'
-BOARD_SITE = ASF::SVN["#{CONTENT}/foundation/board"]
-MINUTES = ASF::SVN["#{CONTENT}/foundation/records/minutes"]
+BOARD_SITE = ASF::SVN['site-board']
+MINUTES = ASF::SVN['minutes']
BOARD_PRIVATE = ASF::SVN['foundation_board']
-CALENDAR = "#{BOARD_SITE}/calendar.mdtext"
+CALENDAR = File.join(BOARD_SITE, 'calendar.mdtext')
_html do
_head do