From 96280cc01f95b3376506157731e7b4a1a958ee37 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Fri, 18 Mar 2016 17:16:51 +1100 Subject: cmake-utils.eclass: replace spaces with tabs --- eclass/cmake-utils.eclass | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'eclass/cmake-utils.eclass') diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 12b8dff178e..5f7bb8162d1 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -264,14 +264,14 @@ _cmake_generator_to_use() { # @DESCRIPTION: # Comment out an add_subdirectory call in CMakeLists.txt in the current directory cmake_comment_add_subdirectory() { - if [[ -z ${1} ]]; then - die "comment_add_subdirectory must be passed the directory name to comment" - fi - - if [[ -e "CMakeLists.txt" ]]; then - sed -e "/add_subdirectory[[:space:]]*([[:space:]]*${1//\//\\/}[[:space:]]*)/I s/^/#DONOTCOMPILE /" \ - -i CMakeLists.txt || die "failed to comment add_subdirectory(${1})" - fi + if [[ -z ${1} ]]; then + die "comment_add_subdirectory must be passed the directory name to comment" + fi + + if [[ -e "CMakeLists.txt" ]]; then + sed -e "/add_subdirectory[[:space:]]*([[:space:]]*${1//\//\\/}[[:space:]]*)/I s/^/#DONOTCOMPILE /" \ + -i CMakeLists.txt || die "failed to comment add_subdirectory(${1})" + fi } # @FUNCTION: comment_add_subdirectory -- cgit v1.2.3