mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:53:33 +03:00
OS400: post-shellcheck changes adjustments
Build scripts must be executed by the os/400 shell (sh), not bash which
is a PASE program.
Shell function get_make_vars() escaping reworked to match $() subcommand
construct.
Follow-up to 8a622baf9e
Closes #13366
This commit is contained in:
parent
8bac53ecf0
commit
5e46c2909f
7 changed files with 20 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
#***************************************************************************
|
||||
# _ _ ____ _
|
||||
# Project ___| | | | _ \| |
|
||||
|
|
@ -104,10 +104,10 @@ build_all_programs()
|
|||
|
||||
if [ -n "${LINK}" ]
|
||||
then PGMLDADD="$(eval echo "\${${PGM}_LDADD}")"
|
||||
for ARG in ${PGMLDADD}
|
||||
do case "${ARG}" in
|
||||
for M in ${PGMLDADD}
|
||||
do case "${M}" in
|
||||
-*) ;; # Ignore non-module.
|
||||
*) MODULES="${MODULES} $(db2_name "${ARG}")"
|
||||
*) MODULES="${MODULES} $(db2_name "${M}")"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue