# HG changeset patch # User Theophile Ranquet # Date 1353407925 0 # Node ID f54c37d872cacc38f1aef1bb55f7f08ddfb95fbb # Parent a111021312dbdf4cafe24ac1f6f1d743d690f2b5 maint.mk: avoid gratuitous failure Reported by Stefano Lattarini in * top/maint.mk (public-submodule-commit): Quote more safely. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-11-20 Theophile Ranquet + + maint.mk: avoid gratuitous failure + Reported by Stefano Lattarini in + + * top/maint.mk (public-submodule-commit): Quote more safely. + 2012-11-20 Eli Zaretskii canonicalize, canonicalize-lgpl: support MS-Windows file names diff --git a/top/maint.mk b/top/maint.mk --- a/top/maint.mk +++ b/top/maint.mk @@ -1390,8 +1390,9 @@ public-submodule-commit: $(AM_V_GEN)if test -d $(srcdir)/.git; then \ cd $(srcdir) && \ - git submodule --quiet foreach test '$$(git rev-parse $$sha1)' \ - = '$$(git merge-base origin $$sha1)' \ + git submodule --quiet foreach \ + test '"$$(git rev-parse "$$sha1")"' \ + = '"$$(git merge-base origin "$$sha1")"' \ || { echo '$(ME): found non-public submodule commit' >&2; \ exit 1; }; \ else \