mirror of
https://github.com/adulau/aha.git
synced 2024-12-26 18:56:14 +00:00
kbuild, deb-pkg: fix install scripts for posix sh
bash versus dash and posh disagree on expanding $@ within double quotes: export x="$@" see http://bugs.debian.org/381091 for details just use the arglist with $*. dpkg: error processing linux-image-2.6.31-rc1_2.6.31-rc1-18_i386.deb (--install): subprocess pre-installation script returned error exit status 2 export: 6: 2.6.31-rc1-18: bad variable name fixes http://bugzilla.kernel.org/show_bug.cgi?id=13567 seen on Ubuntu as there dash is the default sh, versus bash on Debian. Reported-by: Pauli <suokkos@gmail.com> Cc: Frans Pop <elendil@planet.nl> Signed-off-by: maximilian attems <max@stro.at> Acked-By: Andres Salomon <dilinger@collabora.co.uk>
This commit is contained in:
parent
4b0a84043e
commit
241ad11f2d
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ for script in postinst postrm preinst prerm ; do
|
|||
set -e
|
||||
|
||||
# Pass maintainer script parameters to hook scripts
|
||||
export DEB_MAINT_PARAMS="\$@"
|
||||
export DEB_MAINT_PARAMS="\$*"
|
||||
|
||||
test -d $debhookdir/$script.d && run-parts --arg="$version" $debhookdir/$script.d
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue