summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-17 12:13:26 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-17 12:13:26 (GMT)
commit3c1d8625e60e31ed073beb247eaf934364a36957 (patch)
tree8685579adaf92a399a3388c7f5ca987937c781ab /scripts/functions
parent65fd24fc00b248c6b415a09ebd5c503288f897a1 (diff)
parent6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e (diff)
Merge pull request #268 from bhundven/consistent_usage_of_found_apps
consistency: Use exported variables of required tools
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/functions b/scripts/functions
index 660e084..e266626 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -478,7 +478,7 @@ CT_DoForceRmdir() {
# Echoes the specified string on stdout until the pipe breaks.
# Doesn't fail
# $1: string to echo
-# Usage: CT_DoYes "" |make oldconfig
+# Usage: CT_DoYes "" |${make} oldconfig
CT_DoYes() {
yes "$1" || true
}
@@ -1117,7 +1117,7 @@ CT_Patch() {
if [ -n "${d}" -a -d "${d}" ]; then
for p in "${d}"/*.patch; do
if [ -f "${p}" ]; then
- CT_DoExecLog ALL patch --no-backup-if-mismatch -g0 -F1 -p1 -f -i "${p}"
+ CT_DoExecLog ALL ${patch} --no-backup-if-mismatch -g0 -F1 -p1 -f -i "${p}"
fi
done
if [ "${CT_PATCH_SINGLE}" = "y" ]; then
@@ -1363,7 +1363,7 @@ CT_DoSaveState() {
# We must omit shell functions, and some specific bash variables
# that break when restoring the environment, later. We could do
# all the processing in the awk script, but a sed is easier...
- set |awk '
+ set |${awk} '
BEGIN { _p = 1; }
$0~/^[^ ]+ \(\)/ { _p = 0; }
_p == 1