renamed REGEX[FULLDIRPATH] to REGEX[DIRPATH]

This commit is contained in:
m8in
2026-06-18 20:17:40 +02:00
parent 17ae3a6c1e
commit e5873c56ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ function composition.start() {
_COMPOSITION_HOME_FILE="${CIS[COMPOSITIONS]:?"Missing CIS_COMPOSITIONS"}${_COMPOSITION}/home"
# The regex should ensure a path starts and ends with a '/' and it should limit the allowed set of characters
base.set _COMPOSITION_HOME "$(head -n 1 "${_COMPOSITION_HOME_FILE}" 2> /dev/null)" "${REGEX[FULLDIRPATH]}" optional
base.set _COMPOSITION_HOME "$(head -n 1 "${_COMPOSITION_HOME_FILE}" 2> /dev/null)" "${REGEX[DIRPATH]}" optional
readonly _COMPOSITION _COMPOSITION_FILE_BACKUP _COMPOSITION_HOME _COMPOSITION_HOME_FILE
local _COMPOSITION_FILE