From 38b0fc51d3477909d02c53e32b7cd0f9c431ed18 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(-) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 12b8dff178e3..5f7bb8162d19 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-65-gdbad