← Commit list

af5a1647af

Viktor Szakats
Viktor Szakats
2025-11-10
SUCCESS Duration: 144s

Subject

OS400/makefile.sh: fix shellcheck warning SC2038

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

packages/OS400/make-tests.sh+1 -1
@@ -58,7 +58,7 @@ build_all_programs()
for FLAG in ${PGMCFLAGS}
do case "${FLAG}" in
- -D?*) # shellcheck disable=SC2001
+ -D?*)
DEFINE="$(echo "${FLAG}" | sed 's/^..//')"
PGMDFNS="${PGMDFNS} '${DEFINE}'"
;;
packages/OS400/makefile.sh+1 -2
@@ -35,8 +35,7 @@ cd "${TOPDIR}" || exit 1
# Make sure all files are UTF8-encoded.
-# shellcheck disable=SC2038
-find "${TOPDIR}" -type f -print | xargs ls -S | while read -r CCSID FILE
+find "${TOPDIR}" -type f -print0 | xargs -0 ls -S -- | while read -r CCSID FILE
do if [ "${CCSID}" != 1208 ]
then CMD="CPY OBJ('${FILE}') TOOBJ('${FILE}') FROMCCSID(*OBJ)"
CMD="${CMD} TOCCSID(1208) DTAFMT(*TEXT) REPLACE(*YES)"