]>
Commit | Line | Data |
---|---|---|
7395c18c ER |
1 | This is so that we can pass the command argument with spaces. |
2 | Note that this is not really portable, $@ is a bashism, and | |
3 | traditional shell does not have a suitable replacement. | |
4 | ||
5 | Lubomir 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 |