On Tue, 2014-06-17 at 16:10 +0200, Michael Biebl wrote:
> Hi,
> 
> running ./autogen.sh I get
> 
>   sh: 1: [[: not found
> 
> during autoreconf. Culprit is
> 
> m4_define([nm_git_sha], [m4_esyscmd([ ( [[ -d ./.git/ && "$(realpath
> ./.git/)" = "$(realpath "$(git rev-parse --git-dir 2>/dev/null)"
> 2>/dev/null)" ]] && git rev-parse --verify -q HEAD 2>/dev/null ) || true
> ])])
> 
> [[ ]] is a bashism. Fixing that to use [ ] && [ ] I encounter another error:
> 
>   sh: 1: realpath: not found
> 
> The realpath utility is not installed by default on Debian systems.
> It would probably be better to use readlink -f here, since that is part
> of coreutils and installed by default.
> 
> I'm not sure what the check is supposed to achieve, but the attached
> patch fixes the errors for me.
> 
> Please review.

Pushed to git master and nm-0-9-10, thanks!

Dan

_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to