#!/bin/bash # SPDX-License-Identifier: GPL-2.0-or-later source ./common.sh REPO=git://linuxtv.org/libcamera.git LIBCAMERA=${1:-$(srcdir libcamera)} if [ ! -d $LIBCAMERA ] ; then git clone $REPO $LIBCAMERA fi git -C $LIBCAMERA fetch git -C $LIBCAMERA log --oneline HEAD...origin/master git -C $LIBCAMERA pull --ff-only echo "libcamera at version : " $(libcamera_version "$LIBCAMERA")