- Fix double / bug in docker_tools_install,

- Add APPL_HOME_DIR declaration in docker_tools lib,
- Minor comment fixes.
This commit is contained in:
2026-05-27 19:16:01 +02:00
parent b0c891ea53
commit 038f77f2fe
14 changed files with 97 additions and 30 deletions

View File

@@ -24,7 +24,8 @@
# Include
#-----------------------------------------------------------------------------------------------------------------------------------
# Includes
#-----------------------------------------------------------------------------------------------------------------------------------
: "${RX3_LIB_DIR:=/usr/lib/rx3}"
@@ -34,6 +35,17 @@
#-----------------------------------------------------------------------------------------------------------------------------------
# Global Variables
#-----------------------------------------------------------------------------------------------------------------------------------
declare -g DOCKER_TOOLS_HOME_DIR="$(dirname "$(dirname "$0")")"
#-----------------------------------------------------------------------------------------------------------------------------------
# Init
#-----------------------------------------------------------------------------------------------------------------------------------
@@ -44,21 +56,11 @@ fi
dt_appl_home_get "${1:-}"
DOCKER_TOOLS_HOME_DIR="$(dirname "$(dirname "$0")")"
if [[ "${1:-}" == "" ]]
then
APPL_HOME_DIR="$PWD"
else
APPL_HOME_DIR="${1}"
fi
#-----------------------------------------------------------------------------------------------------------------------------------
# Link Create
#-------------------------------------------------------------------------------
@@ -86,6 +88,7 @@ function link_create
#-----------------------------------------------------------------------------------------------------------------------------------
# Main
#-------------------------------------------------------------------------------
@@ -95,6 +98,11 @@ cd ${APPL_HOME_DIR}
docker_tools_home_dir=$( realpath ${DOCKER_TOOLS_HOME_DIR})
if [[ "${docker_tools_home_dir}" == "/" ]]
then
docker_tools_home_dir=""
fi
#link_create ${docker_tools_home_dir}/sbin .