Mercurial > hg > octave-nkf > gnulib-hg
diff gnulib-tool @ 10969:4c304a656b87
Fix a gnulib-tool failure.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 25 Dec 2008 16:07:35 +0100 |
parents | 4e7233d13083 |
children | d54e63808f25 |
line wrap: on
line diff
--- a/gnulib-tool +++ b/gnulib-tool @@ -4032,7 +4032,9 @@ if test -f $m4base/gettext.m4; then func_execute_command ${AUTOPOINT} --force || func_exit 1 for f in $m4base/*.m4~; do - mv -f $f `echo $f | sed -e 's,~$,,'` || func_exit 1 + if test -f $f; then + mv -f $f `echo $f | sed -e 's,~$,,'` || func_exit 1 + fi done fi func_execute_command ${ACLOCAL} -I $m4base || func_exit 1 @@ -4051,7 +4053,9 @@ if test -f ../$m4base/gettext.m4; then func_execute_command ${AUTOPOINT} --force || func_exit 1 for f in ../$m4base/*.m4~; do - mv -f $f `echo $f | sed -e 's,~$,,'` || func_exit 1 + if test -f $f; then + mv -f $f `echo $f | sed -e 's,~$,,'` || func_exit 1 + fi done fi func_execute_command ${ACLOCAL} -I ../$m4base || func_exit 1