diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-17 12:13:26 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-17 12:13:26 (GMT) |
commit | 3c1d8625e60e31ed073beb247eaf934364a36957 (patch) | |
tree | 8685579adaf92a399a3388c7f5ca987937c781ab /scripts/crosstool-NG.sh.in | |
parent | 65fd24fc00b248c6b415a09ebd5c503288f897a1 (diff) | |
parent | 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e (diff) |
Merge pull request #268 from bhundven/consistent_usage_of_found_apps
consistency: Use exported variables of required tools
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r-- | scripts/crosstool-NG.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index b9b8aee..568c73e 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -517,7 +517,7 @@ if [ -z "${CT_RESTART}" ]; then JOBSFLAGS= # Override the configured jobs with what's been given on the command line if [ -n "${CT_JOBS}" ]; then - if [ ! -z "`echo "${CT_JOBS}" | sed 's/[0-9]//g'`" ]; then + if [ ! -z "`echo "${CT_JOBS}" | ${sed} 's/[0-9]//g'`" ]; then CT_Abort "Number of parallel jobs must be integer." fi CT_PARALLEL_JOBS="${CT_JOBS}" @@ -569,7 +569,7 @@ if [ -z "${CT_RESTART}" ]; then # not our mangled .config.2 with arrays. CT_DoLog EXTRA "Installing user-supplied crosstool-NG configuration" CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}/bin" - CT_DoExecLog DEBUG install -m 0755 "${CT_LIB_DIR}/scripts/toolchain-config.in" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" + CT_DoExecLog DEBUG ${install} -m 0755 "${CT_LIB_DIR}/scripts/toolchain-config.in" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" CT_DoExecLog DEBUG ${sed} -i -e 's,@@grep@@,"'"${grep}"'",;' "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" bzip2 -c -9 .config >>"${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" |