Mercurial > hg > octave-kai > gnulib-hg
changeset 17162:f54c37d872ca
maint.mk: avoid gratuitous failure
Reported by Stefano Lattarini in
<http://lists.gnu.org/archive/html/bug-bison/2012-11/msg00022.html>
* top/maint.mk (public-submodule-commit): Quote more safely.
author | Theophile Ranquet <ranquet@lrde.epita.fr> |
---|---|
date | Tue, 20 Nov 2012 10:38:45 +0000 |
parents | a111021312db |
children | 2afe33d03981 |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-11-20 Theophile Ranquet <ranquet@lrde.epita.fr> + + maint.mk: avoid gratuitous failure + Reported by Stefano Lattarini in + <http://lists.gnu.org/archive/html/bug-bison/2012-11/msg00022.html> + * top/maint.mk (public-submodule-commit): Quote more safely. + 2012-11-20 Eli Zaretskii <eliz@gnu.org> canonicalize, canonicalize-lgpl: support MS-Windows file names
--- 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 \