diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2016-02-22 03:01:57 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-02-22 19:14:37 +0100 |
commit | a05d03322607fd04f996050c267f01a6c3cc0c1b (patch) | |
tree | 6d8f641e3c04a0991761dbe772c2b90de0b9ed87 /util/board_status/to-wiki/bucketize.sh | |
parent | f0d39c409b95c2095f84adcd0dcb9b0381e1562e (diff) |
board-status: deal with sanitized paths
Change I9dd8e4027be21363015cd8df9918610e206afce2 replaces
colons with underscores in paths, to improve compatibility of paths.
This breaks any attempt to interpret the timestamp part of the tree
as a timestamp, so revert the change before doing so.
Change-Id: I0e82e4045120700e9b4fcc8c6e54d761068eaea3
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: https://review.coreboot.org/13766
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/board_status/to-wiki/bucketize.sh')
-rwxr-xr-x | util/board_status/to-wiki/bucketize.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/board_status/to-wiki/bucketize.sh b/util/board_status/to-wiki/bucketize.sh index e85fc3ef8c..78906fdd67 100755 --- a/util/board_status/to-wiki/bucketize.sh +++ b/util/board_status/to-wiki/bucketize.sh @@ -19,7 +19,7 @@ quarterly() { curr="" sort -r -k4 -t/ | while read file; do - timestamp=`printf $file | cut -d/ -f4` + timestamp=`printf $file | cut -d/ -f4 | tr _ :` new=`$1 $timestamp` if [ "$new" != "$curr" ]; then if [ "$curr" != "" ]; then |