]> git.pld-linux.org Git - packages/kBuild.git/blame - kBuild-0.1.3-escape.patch
- updated to r3598
[packages/kBuild.git] / kBuild-0.1.3-escape.patch
CommitLineData
7395c18c
ER
1This is so that we can pass the command argument with spaces.
2Note that this is not really portable, $@ is a bashism, and
3traditional shell does not have a suitable replacement.
4
5Lubomir Rintel <lkundrak@v3.sk>
6
7--- kBuild-0.1.3/kBuild/env.sh.escape 2008-08-17 21:13:20.000000000 +0200
8+++ kBuild-0.1.3/kBuild/env.sh 2008-08-17 21:13:23.000000000 +0200
9@@ -568,7 +568,7 @@
10 MY_RC=$?
11 else
12 test -z "${QUIET_OPT}" && echo "$0: info: Executing command: $*" 1>&${ERR_REDIR}
13- $*
14+ "$@"
15 MY_RC=$?
16 test -z "${QUIET_OPT}" -a "$MY_RC" -ne 0 && echo "$0: info: rc=$MY_RC: $*" 1>&${ERR_REDIR}
17 fi
This page took 0.129513 seconds and 4 git commands to generate.