This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/CI/DetermineBuilds

22 lines
401 B
Plaintext
Raw Normal View History

#!/bin/bash
CURDIR="$(dirname "$(readlink -f "$0")")"
CHANGED_DIRS=`$CURDIR/DetectDirectoryChanges $1`
case $CHANGED_DIRS in
*"aws-cpp-sdk-core"*)
;&
*"CMakeLists.txt"*)
;&
*"cmake"*)
;&
*"code-generation"*)
echo "-DBUILD_ONLY=\"\""
exit 0
;;
*)
esac
BUILD_ONLY_OUT="-DBUILD_ONLY=\"${CHANGED_DIRS//$'\n'/';'}\""
echo ${BUILD_ONLY_OUT//$'aws-cpp-sdk-'/''}