From b66a52f4df176ecde9cd3413e4dda6292a1823b6 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 9 Oct 2022 15:43:25 +0800 Subject: [PATCH] chore: more checks --- CMakeLists.txt | 2 +- build_libseccomp.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0353de8..27657f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.23) +cmake_minimum_required(VERSION 3.22) project(woj_sandbox C) set(CMAKE_C_STANDARD 23) diff --git a/build_libseccomp.sh b/build_libseccomp.sh index eed4048..58d5f5f 100755 --- a/build_libseccomp.sh +++ b/build_libseccomp.sh @@ -6,6 +6,6 @@ set -x git clone https://github.com/seccomp/libseccomp.git &>/dev/null cd libseccomp || exit 1 git checkout $VERSION &>/dev/null -./autogen.sh &>/dev/null -./configure --enable-shared=no &>/dev/null -make -j &>/dev/null +./autogen.sh &>/dev/null || exit 1 +./configure --enable-shared=no &>/dev/null || exit 1 +make -j &>/dev/null || exit 1