mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
sync-with-upstream: Generate 'nix/AUTHORS'.
* nix/sync-with-upstream: Use 'git shortlog' to generate nix/AUTHORS.
This commit is contained in:
parent
deae6e9e6f
commit
e23f14fe0c
1 changed files with 11 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# GNU Guix --- Functional package management for GNU
|
# GNU Guix --- Functional package management for GNU
|
||||||
# Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
|
# Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
||||||
#
|
#
|
||||||
# This file is part of GNU Guix.
|
# This file is part of GNU Guix.
|
||||||
#
|
#
|
||||||
|
@ -65,7 +65,16 @@ done
|
||||||
rm -fv "$top_srcdir/nix/libstore/schema.sql.hh"
|
rm -fv "$top_srcdir/nix/libstore/schema.sql.hh"
|
||||||
|
|
||||||
cp -v "$top_srcdir/nix-upstream/COPYING" "$top_srcdir/nix"
|
cp -v "$top_srcdir/nix-upstream/COPYING" "$top_srcdir/nix"
|
||||||
cp -v "$top_srcdir/nix-upstream/AUTHORS" "$top_srcdir/nix"
|
|
||||||
|
# Generate an 'AUTHORS' file since upstream Nix no longer has one.
|
||||||
|
cat > "$top_srcdir/nix/AUTHORS" <<EOF
|
||||||
|
Most of the code is this directory was written by the following people for
|
||||||
|
the Nix project (http://nixos.org/nix). Thank you!
|
||||||
|
|
||||||
|
EOF
|
||||||
|
( cd "$top_srcdir/nix-upstream" ; git shortlog --summary ) \
|
||||||
|
| sed -'es/^ *[0-9]\+\(.*\)/ \1/g' \
|
||||||
|
>> "$top_srcdir/nix/AUTHORS"
|
||||||
|
|
||||||
# Substitutions.
|
# Substitutions.
|
||||||
sed -i "$top_srcdir/nix/libstore/gc.cc" \
|
sed -i "$top_srcdir/nix/libstore/gc.cc" \
|
||||||
|
|
Loading…
Reference in a new issue