[Libvirt-cim] [PATCH] build: Don't use /bin/sh unconditionally

John Ferlan jferlan at redhat.com
Fri Sep 6 14:02:51 UTC 2013


On 08/30/2013 08:12 AM, Viktor Mihajlovski wrote:
> provider-register.sh implicitly assumes that the shell has bash-like
> capabilities. On systems like Ubuntu this is not the case leading
> to a make postinstall failure when used with Pegasus.
> Changing the script shebang to /bin/bash to make this explicit.
> Further replace occurrences of sh to $(SHELL) in the Makefile
> invocations of provider-register.sh.
> 
> Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
> ---
> 
> May not be relevant as libvirt-cim/pegasus isn't part of Debian-ish distros
> as far as I am aware of. But it is a constant source of annoyance...
> 
>  Makefile.am          |   18 +++++++++---------
>  provider-register.sh |    2 +-
>  2 files changed, 10 insertions(+), 10 deletions(-)
> 

FYI:
Pushed

John




More information about the Libvirt-cim mailing list