X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=blobdiff_plain;f=posix-modules;h=c7829574341198b4f988e1219b33e638150ae22c;hp=5bb29f0027914402a56da00ded989f0467fc29be;hb=54c3ba61dfdf260865f2a6529ab414e24da17cf5;hpb=42cb7c47e9ea7790ef47d659332c10d92b790f34 diff --git a/posix-modules b/posix-modules index 5bb29f002..c78295743 100755 --- a/posix-modules +++ b/posix-modules @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2002-2008, 2010-2011 Free Software Foundation, Inc. +# Copyright (C) 2002-2008, 2010-2013 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -52,18 +52,8 @@ q date=`date -d "$date" -u +"%Y-%m-%d %H:%M:%S"` version=' '`cd "$gnulib_dir" && ./build-aux/git-version-gen /dev/null | sed -e 's/-dirty/-modified/'` else - if test -d "$gnulib_dir"/CVS \ - && (cvs --version) >/dev/null 2>/dev/null; then - # gnulib checked out from CVS. - sed_extract_first_date='/^date: /{ -s/^date: \([0-9][0-9][0-9][0-9]\).\([0-9][0-9]\).\([0-9][0-9]\) \([0-9][0-9]:[0-9][0-9]:[0-9][0-9]\).*/\1-\2-\3 \4/p -q -}' - date=`cd "$gnulib_dir" && cvs log -N ChangeLog 2>/dev/null | sed -n -e "$sed_extract_first_date"` - else - # gnulib copy without versioning information. - date=`sed -e 's/ .*//;q' "$gnulib_dir"/ChangeLog` - fi + # gnulib copy without versioning information. + date=`sed -e 's/ .*//;q' "$gnulib_dir"/ChangeLog` version= fi year=`"$gnulib_dir"/build-aux/mdate-sh "$self_abspathname" | sed 's,^.* ,,'`