diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2014-07-08 00:10:21 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2014-07-08 00:10:21 +1000 |
| commit | 04e815ff6d8540cbfdb912a6567c7a68905e891d (patch) | |
| tree | 8f515e89b83a4745780128d2703db0c332c2202a /eclass/cmake-utils.eclass | |
| parent | ce6b4755f15dbb1be00e296605882199509b647d (diff) | |
| download | kde-04e815ff6d8540cbfdb912a6567c7a68905e891d.tar.gz kde-04e815ff6d8540cbfdb912a6567c7a68905e891d.tar.bz2 kde-04e815ff6d8540cbfdb912a6567c7a68905e891d.zip | |
[eclass] Spelling.
Diffstat (limited to 'eclass/cmake-utils.eclass')
| -rw-r--r-- | eclass/cmake-utils.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index f261729f678..1b3283cdad3 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -647,7 +647,7 @@ enable_cmake-utils_src_install() { # @DESCRIPTION: # Apply ebuild and user patches. cmake-utils_src_prepare() { - _execute_optionaly "src_prepare" "$@" + _execute_optionally "src_prepare" "$@" } # @FUNCTION: cmake-utils_src_configure @@ -655,7 +655,7 @@ cmake-utils_src_prepare() { # General function for configuring with cmake. Default behaviour is to start an # out-of-source build. cmake-utils_src_configure() { - _execute_optionaly "src_configure" "$@" + _execute_optionally "src_configure" "$@" } # @FUNCTION: cmake-utils_src_compile @@ -663,25 +663,25 @@ cmake-utils_src_configure() { # General function for compiling with cmake. # Automatically detects the build type. All arguments are passed to emake. cmake-utils_src_compile() { - _execute_optionaly "src_compile" "$@" + _execute_optionally "src_compile" "$@" } # @FUNCTION: cmake-utils_src_test # @DESCRIPTION: # Function for testing the package. Automatically detects the build type. cmake-utils_src_test() { - _execute_optionaly "src_test" "$@" + _execute_optionally "src_test" "$@" } # @FUNCTION: cmake-utils_src_install # @DESCRIPTION: # Function for installing the package. Automatically detects the build type. cmake-utils_src_install() { - _execute_optionaly "src_install" "$@" + _execute_optionally "src_install" "$@" } # Optionally executes phases based on WANT_CMAKE variable/USE flag. -_execute_optionaly() { +_execute_optionally() { local phase="$1" ; shift if [[ ${WANT_CMAKE} = always ]]; then enable_cmake-utils_${phase} "$@" |
