#!/bin/bash # SPDX-License-Identifier: GPL-2.0-or-later source ./common.sh LIBCAMERA=$(srcdir libcamera) if [ "$#" -ge 1 ]; then echo "1: $1 2: $2" ## $1 branch ## $2 remote (Default to 'upstream : libcamera.org/internal') BRANCH="$1" REMOTE="${2:-upstream}" ## Delete any given integration branch git -C $LIBCAMERA push $REMOTE :$BRANCH else echo "Bye ($#)" fi