diff options
author | Allen Winter <allen.winter@kdab.com> | 2021-04-25 16:08:37 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2021-04-25 16:08:37 -0400 |
commit | 6a9aa370c67c26aac8beafe19e6d350bd8372512 (patch) | |
tree | c1ac4283999e03dd8f8bd17512f179529b199318 | |
parent | 10da7fa512a2e492bb930649bceb2e164d0eeb6f (diff) | |
download | libical-git-6a9aa370c67c26aac8beafe19e6d350bd8372512.tar.gz |
scripts/buildtests.sh - don't required gnu sed
OSX sed doesn't support 'i' for ignoring case.
we don't necessarily need that and removing it
is easier than requiring GNU sed on Macs.
-rwxr-xr-x | scripts/buildtests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh index a1582922..fe238f82 100755 --- a/scripts/buildtests.sh +++ b/scripts/buildtests.sh @@ -526,7 +526,7 @@ then exit 1 fi # read the min required CMake version from the top-level CMake file - minCMakeVers=`grep -i cmake_minimum_required $TOP/CMakeLists.txt | grep VERSION | sed 's/^.*VERSION\s*//i' | cut -d. -f1-2 | sed 's/\s*).*$//'` + minCMakeVers=`grep -i cmake_minimum_required $TOP/CMakeLists.txt | grep VERSION | sed 's/^.*VERSION\s*//' | cut -d. -f1-2 | sed 's/\s*).*$//'` # adjust PATH X=`echo $minCMakeVers | cut -d. -f1` Y=`echo $minCMakeVers | cut -d. -f2` @@ -545,7 +545,7 @@ then if ( test `cmake --version | head -1 | grep -c $minCMakeVers` -ne 1 ) then echo "Not using cmake version $minCMakeVers" - echo "Maybe you need to install it into /usr/local/opt/cmake-$minCMakeVers" + echo "Maybe you need to install it into /usr/local/opt/cmake-$minCMakeVers (or use the -m option)" exit 1 fi fi |