This commit is contained in:
Stéphane Parunakian 2021-06-02 16:06:08 +02:00
parent d154118600
commit e353f66eaa

View File

@ -3056,7 +3056,7 @@ _checkConf() {
_debug "Try include files" _debug "Try include files"
for included in $(cat "$2" | tr "\t" " " | grep "^ *include *.*;" | sed "s/include //" | tr -d " ;"); do for included in $(cat "$2" | tr "\t" " " | grep "^ *include *.*;" | sed "s/include //" | tr -d " ;"); do
_debug "check included $included" _debug "check included $included"
if !_startswith "$included" "/" && _exists dirname; then if ! _startswith "$included" "/" && _exists dirname; then
_relpath="$(dirname "$_c_file")" _relpath="$(dirname "$_c_file")"
_debug "_relpath" "$_relpath" _debug "_relpath" "$_relpath"
included="$_relpath/included" included="$_relpath/included"