In /usr/bin/h5pcc.openmpi line 28: exec_prefix="${prefix}" ^---------^ SC2034: exec_prefix appears unused. Verify use (or export if used externally). In /usr/bin/h5pcc.openmpi line 65: prog_name="`basename $0`" ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: prog_name="$(basename "$0")" In /usr/bin/h5pcc.openmpi line 156: echo " in the 'Things You Can Modify to Override...'" section of $prog_name ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo " in the 'Things You Can Modify to Override...'" section of "$prog_name" In /usr/bin/h5pcc.openmpi line 192: if test "`${CC} -v 2>&1 | sed -n 2p | cut -c1-3`" = "gcc"; then ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if test "$(${CC} -v 2>&1 | sed -n 2p | cut -c1-3)" = "gcc"; then In /usr/bin/h5pcc.openmpi line 204: for arg in $@ ; do ^-- SC2068: Double quote array expansions to avoid re-splitting elements. In /usr/bin/h5pcc.openmpi line 226: dash_o="yes" ^----^ SC2034: dash_o appears unused. Verify use (or export if used externally). In /usr/bin/h5pcc.openmpi line 247: prefix="`expr "$arg" : '-prefix=\(.*\)'`" ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: prefix="$(expr "$arg" : '-prefix=\(.*\)')" In /usr/bin/h5pcc.openmpi line 269: qarg="'"$arg"'" ^--^ SC2027: The surrounding quotes actually unquote this. Remove or escape them. In /usr/bin/h5pcc.openmpi line 280: ext=`expr "$arg" : '.*\(\..*\)'` ^--------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: ext=$(expr "$arg" : '.*\(\..*\)') In /usr/bin/h5pcc.openmpi line 285: fname=`basename $arg .c` ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: fname=$(basename "$arg" .c) In /usr/bin/h5pcc.openmpi line 319: $SHOW $CC -I$includedir $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CFLAGS $CFLAGS $compile_args ^-^ SC2086: Double quote to prevent globbing and word splitting. ^-------------^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^-----------^ SC2086: Double quote to prevent globbing and word splitting. ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^-----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: $SHOW "$CC" -I$includedir "$H5BLD_CPPFLAGS" "$CPPFLAGS" "$H5BLD_CFLAGS" "$CFLAGS" "$compile_args" In /usr/bin/h5pcc.openmpi line 378: if echo $link_args | grep " $lib " > /dev/null || ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if echo "$link_args" | grep " $lib " > /dev/null || In /usr/bin/h5pcc.openmpi line 379: echo $link_args | grep " $lib$" > /dev/null; then ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$link_args" | grep " $lib$" > /dev/null; then In /usr/bin/h5pcc.openmpi line 396: $SHOW $CLINKER -I$includedir $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CFLAGS $CFLAGS $LDFLAGS $clibpath $link_objs $LIBS $link_args $shared_link ^------^ SC2086: Double quote to prevent globbing and word splitting. ^-------------^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^-----------^ SC2086: Double quote to prevent globbing and word splitting. ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^------^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: $SHOW "$CLINKER" -I$includedir "$H5BLD_CPPFLAGS" "$CPPFLAGS" "$H5BLD_CFLAGS" "$CFLAGS" "$LDFLAGS" "$clibpath" "$link_objs" "$LIBS" "$link_args" $shared_link For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... https://www.shellcheck.net/wiki/SC2034 -- dash_o appears unused. Verify use...