aboutsummaryrefslogtreecommitdiff
path: root/util/board_status/to-wiki/push-to-wiki.sh
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-02-19 10:24:07 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-02-21 01:42:59 +0100
commit2d5d552fa5d91328c406f4b1b1886c6eaab8fcfe (patch)
treec422d05cf754a5adabf45a7011d1c0cd9f143fc4 /util/board_status/to-wiki/push-to-wiki.sh
parent8a0dae628fafd3e419d9d3b9ec7aac551e02af71 (diff)
board-status: make push-to-wiki more flexible
Change-Id: I952a694f645caf9d9726965e39afc09c6fdce0e3 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/13741 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/board_status/to-wiki/push-to-wiki.sh')
-rwxr-xr-xutil/board_status/to-wiki/push-to-wiki.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/board_status/to-wiki/push-to-wiki.sh b/util/board_status/to-wiki/push-to-wiki.sh
index fb011c1cc1..58e2cbb064 100755
--- a/util/board_status/to-wiki/push-to-wiki.sh
+++ b/util/board_status/to-wiki/push-to-wiki.sh
@@ -1,9 +1,10 @@
#!/bin/bash
# $1: file containing text
+# $2: wiki page to update
. ~/.wikiaccount
WIKIAPI="http://www.coreboot.org/api.php"
-TITLE="Supported_Motherboards"
+TITLE="$2"
cookie_jar="$HOME/.wikicookiejar"
#Will store file in wikifile