[Top][All Lists]

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

[gnuastro-commits] master 1b74770 4/5: Book: building now copies of the

From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 1b74770 4/5: Book: building now copies of the original .mailmap
Date: Sat, 12 Jun 2021 16:24:56 -0400 (EDT)

branch: master
commit 1b747700d69017a78ca668e1e4f7105826ca00b8
Author: Mohammad Akhlaghi <>
Commit: Mohammad Akhlaghi <>

    Book: building now copies of the original .mailmap
    Until now, for building the list of authors in the book we would make a
    symbolic link to the main Gnuastro '.mailmap' file. However, apparently new
    versions of Git don't support symbolic links, so it wasn't being taken into
    With this commit, instead of the symbolic link, we are copying the file
    from the top source directory temporarily (even the symbolic was being
    deleted before this).
 doc/genauthors | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/genauthors b/doc/genauthors
index c9734d8..7f6139f 100755
--- a/doc/genauthors
+++ b/doc/genauthors
@@ -49,7 +49,7 @@ if [ -d $1/.git ]; then
     # in the top source directory not from the 'doc' directory, or if a
     # symbolic link was already created), we won't do any copying.
     if [ -e .mailmap ]; then keepmailmap=1;
-    else                     keepmailmap=0; ln -s $1/.mailmap .mailmap;
+    else                     keepmailmap=0; cp $1/.mailmap .mailmap;
     # Do NOT test if authors.texi is newer than ../.git.  In some cases the

reply via email to

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