This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/allow_duplicate_bundles_in_container
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/allow_duplicate_bundles_in_container by this push:
     new 3bf73dfc Fix typo in ContainerPackaging
3bf73dfc is described below

commit 3bf73dfcee50bc1ab9191956fc8b75e4cf2123c0
Author: Pepijn Noltes <[email protected]>
AuthorDate: Fri Aug 4 00:21:33 2023 +0200

    Fix typo in ContainerPackaging
---
 cmake/cmake_celix/ContainerPackaging.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmake/cmake_celix/ContainerPackaging.cmake 
b/cmake/cmake_celix/ContainerPackaging.cmake
index 0c188468..a68bc771 100644
--- a/cmake/cmake_celix/ContainerPackaging.cmake
+++ b/cmake/cmake_celix/ContainerPackaging.cmake
@@ -553,7 +553,7 @@ function(celix_container_bundles)
 
     if (BUNDLES_INSTALL)
         get_target_property(BUNDLES ${CONTAINER_TARGET} 
"CONTAINER_BUNDLES_INSTALL")
-        sET(BUNDLES_LEVEL "install")
+        set(BUNDLES_LEVEL "install")
     else () #bundle level 0,1,2,3,4,5 or 6
         get_target_property(BUNDLES ${CONTAINER_TARGET} 
"CONTAINER_BUNDLES_LEVEL_${BUNDLES_LEVEL}")
     endif ()
@@ -617,12 +617,12 @@ endfunction()
 
 #[[
 Private function to check if there are duplicate bundles in the container and 
print a warning if so.
-Arg CONTAINER_TARGET ADDED_BUNDLES_LIST
+Arg CONTAINER_TARGET ADDED_BUNDLES_LIST BUNDLE_LEVEL
 ]]
 function(_celix_container_check_duplicate_bundles)
     list(GET ARGN 0 CONTAINER_TARGET)
     list(GET ARGN 1 TO_ADD_BUNDLE)
-    list(GET ASRN 2 BUNDLE_LEVEL)
+    list(GET ARGN 2 BUNDLE_LEVEL)
 
     set(MSG "Bundle `${TO_ADD_BUNDLE}` is added to the container multiple 
times. This can lead to errors during \
         bundle installation. Bundle `${TO_ADD_BUNDLE}` already added to 
container '${CONTAINER_TARGET}` \

Reply via email to