summaryrefslogtreecommitdiff
path: root/03-update-patchwork.sh
blob: 559ddd573e5d8a5311704137a01eed62a230f018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# SPDX-License-Identifier: GPL-2.0-or-later

source ./common.sh

LIBCAMERA=${1:-$(srcdir libcamera)}
BOT=$(pwd)/scripts/git-patchwork-bot.py

logfile=$(log_filename $ID)

$BOT -v -r $LIBCAMERA/.git -l $logfile > $logfile.stdout.log 2> $logfile.stderr.log
$BOT -v -r $LIBCAMERA/.git -l $logfile.2 >> $logfile.stdout.log 2>> $logfile.stderr.log

pass_fail $? "Run patchwork bot"