diff --git a/container_escape_detection/apply_ced.sh b/container_escape_detection/apply_ced.sh index 2d34691..d2dda32 100755 --- a/container_escape_detection/apply_ced.sh +++ b/container_escape_detection/apply_ced.sh @@ -15,8 +15,8 @@ function main() { pushd . - if [ ! -d " $KERNEL_BUILD_ROOT/security/container_escape_detection" ]; then - mkdir $KERNEL_BUILD_ROOT/security/container_escape_detection + if [ ! -d "$KERNEL_BUILD_ROOT/security/container_escape_detection" ]; then + mkdir -p $KERNEL_BUILD_ROOT/security/container_escape_detection fi cd $KERNEL_BUILD_ROOT/security/container_escape_detection diff --git a/xpm/apply_xpm.sh b/xpm/apply_xpm.sh index e8947a9..6ee454e 100755 --- a/xpm/apply_xpm.sh +++ b/xpm/apply_xpm.sh @@ -15,8 +15,8 @@ function main() { pushd . - if [ ! -d " $KERNEL_BUILD_ROOT/security/xpm" ]; then - mkdir $KERNEL_BUILD_ROOT/security/xpm + if [ ! -d "$KERNEL_BUILD_ROOT/security/xpm" ]; then + mkdir -p $KERNEL_BUILD_ROOT/security/xpm fi cd $KERNEL_BUILD_ROOT/security/xpm