ALT Linux repositórios
S: | 0.1.9998.r3592-alt3 |
5.0: | 0.1.5.r2373-alt0.M50.1 |
4.1: | 0.1.5.r2373-alt0.M41.1 |
4.0: | |
+backports: | 0.1.3.r1651-alt0.M40.1 |
Group :: Desenvolvimento/Outros
RPM: kBuild
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: kBuild-0.1.3-escape.patch
Download
Download
This is so that we can pass the command argument with spaces.
Note that this is not really portable, $@ is a bashism, and
traditional shell does not have a suitable replacement.
Lubomir Rintel <lkundrak@v3.sk>
--- kBuild-0.1.3/kBuild/env.sh.escape 2008-08-17 21:13:20.000000000 +0200
+++ kBuild-0.1.3/kBuild/env.sh 2008-08-17 21:13:23.000000000 +0200
@@ -568,7 +568,7 @@
MY_RC=$?
else
test -z "${QUIET_OPT}" && echo "$0: info: Executing command: $*" 1>&${ERR_REDIR}
- $*
+ "$@"
MY_RC=$?
test -z "${QUIET_OPT}" -a "$MY_RC" -ne 0 && echo "$0: info: rc=$MY_RC: $*" 1>&${ERR_REDIR}
fi