diff options
-rwxr-xr-x | 10-build-matrix.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/10-build-matrix.sh b/10-build-matrix.sh index d022f13..e5dd618 100755 --- a/10-build-matrix.sh +++ b/10-build-matrix.sh @@ -87,10 +87,10 @@ function build_simple_cam() { CC="$1" CXX="$2" - SIMPLE_CAM=./simple-cam + SIMPLE_CAM=$(srcdir simple-cam) if [ ! -d $SIMPLE_CAM ]; then - git clone https://git.libcamera.org/libcamera/simple-cam.git + git clone https://git.libcamera.org/libcamera/simple-cam.git $SIMPLE_CAM fi echo Using: $LIBCAMERA_BUILD @@ -111,7 +111,7 @@ function build_simple_cam() { ninja -C "$BUILDDIR" ret=$? - cd .. + cd - return $ret } |