bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tool: fix an error


From: Bruno Haible
Subject: gnulib-tool: fix an error
Date: Thu, 25 Dec 2008 16:08:23 +0100
User-agent: KMail/1.9.9

"gnulib-tool --create-testdir" failed for me, right after executing autopoint,
with this error message:
  mv: angegebenes Ziel „glm4/yield.m4“ ist kein Verzeichnis

This fixes it.


2008-12-25  Bruno Haible  <address@hidden>

        * gnulib-tool (func_create_testdir): Avoid failure of mv command.

*** gnulib-tool.orig    2008-12-25 15:52:43.000000000 +0100
--- gnulib-tool 2008-12-25 15:51:55.000000000 +0100
***************
*** 4032,4038 ****
     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
       done
     fi
     func_execute_command ${ACLOCAL} -I $m4base || func_exit 1
--- 4032,4040 ----
     if test -f $m4base/gettext.m4; then
       func_execute_command ${AUTOPOINT} --force || func_exit 1
       for f in $m4base/*.m4~; do
!        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,4057 ****
       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
         done
       fi
       func_execute_command ${ACLOCAL} -I ../$m4base || func_exit 1
--- 4053,4061 ----
       if test -f ../$m4base/gettext.m4; then
         func_execute_command ${AUTOPOINT} --force || func_exit 1
         for f in ../$m4base/*.m4~; do
!          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]