OS400: tidy-up

Drop/fixup mods trying to make some syntax highlighters happier.

Follow-up to 8a622baf9e #13309
Closes #13362
This commit is contained in:
Viktor Szakats 2024-04-13 19:57:04 +00:00
parent a1ec035afc
commit 8bac53ecf0
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -147,8 +147,7 @@ canonicalize_path()
do IFS="${IFSSAVE}" do IFS="${IFSSAVE}"
case "${C}" in case "${C}" in
.) ;; .) ;;
..) R=$(expr \ ..) R="$(expr "${R}" : '^\(.*/\)..*')"
"${R}" : '^\(.*/\)..*')
;; ;;
?*) R="${R}${C}/" ?*) R="${R}${C}/"
;; ;;
@ -173,8 +172,7 @@ make_module()
MODULES="${MODULES} ${1}" MODULES="${MODULES} ${1}"
MODIFSNAME="${LIBIFSNAME}/${1}.MODULE" MODIFSNAME="${LIBIFSNAME}/${1}.MODULE"
action_needed "${MODIFSNAME}" "${2}" || return 0; action_needed "${MODIFSNAME}" "${2}" || return 0;
SRCDIR="$(dirname \ SRCDIR="$(dirname "$(canonicalize_path "${2}")")"
"$(canonicalize_path "${2}")")"
# #pragma convert has to be in the source file itself, i.e. # #pragma convert has to be in the source file itself, i.e.
# putting it in an include file makes it only active # putting it in an include file makes it only active