Mercurial > gnulib
diff gnulib-tool @ 9377:ca27c3808c95
Update after move from cvs to git.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 21 Oct 2007 14:20:08 +0200 |
parents | 0697c925151a |
children | 95cbd64f5138 |
line wrap: on
line diff
--- a/gnulib-tool Sun Oct 21 02:33:32 2007 +0200 +++ b/gnulib-tool Sun Oct 21 14:20:08 2007 +0200 @@ -3538,7 +3538,12 @@ func_append megasubdirs "ALL" # Create autobuild. - cvsdate=`sh "$gnulib_dir/build-aux/mdate-sh" "$gnulib_dir/CVS/Entries" \ + cvsdate=`if test -f "$gnulib_dir/CVS/Entries"; then \ + vc_witness="$gnulib_dir/CVS/Entries"; \ + else \ + vc_witness="$gnulib_dir/.git/refs/heads/master"; \ + fi; \ + sh "$gnulib_dir/build-aux/mdate-sh" "$vc_witness" \ | sed -e 's,January,01,' -e 's,Jan,01,' \ -e 's,February,02,' -e 's,Feb,02,' \ -e 's,March,03,' -e 's,Mar,03,' \