]> git.pld-linux.org Git - packages/kBuild.git/blob - kBuild-0.1.3-escape.patch
- updated to r3598
[packages/kBuild.git] / kBuild-0.1.3-escape.patch
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
This page took 0.101367 seconds and 3 git commands to generate.