Am Freitag, 14. Dezember 2012 schrieb Ludovic Courtès:
> Hmm, can you run ‘git submodule init && git submodule update’ from the
> top level, and check whether nix-upstream/{COPYING,AUTHORS} appear?

The files are there, but the brace expansion in the script is a bashism
that does not work under debain /bin/sh (which is dash).
Trivial patch attached.

Andreas
From 84ca150413d500760a85d5071a77c4fb025b1312 Mon Sep 17 00:00:00 2001
From: Andreas Enge <[email protected]>
Date: Fri, 14 Dec 2012 11:47:09 +0100
Subject: [PATCH 3/3]     * nix/sync-with-upstream: fix bashism

---
 nix/sync-with-upstream |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nix/sync-with-upstream b/nix/sync-with-upstream
index 69bd1fb..1f11fd7 100755
--- a/nix/sync-with-upstream
+++ b/nix/sync-with-upstream
@@ -61,7 +61,8 @@ do
     fi
 done
 
-cp -v "$top_srcdir/nix-upstream/"{COPYING,AUTHORS} "$top_srcdir/nix"
+cp -v "$top_srcdir/nix-upstream/COPYING" "$top_srcdir/nix"
+cp -v "$top_srcdir/nix-upstream/AUTHORS" "$top_srcdir/nix"
 
 # Substitutions.
 sed -i "$top_srcdir/nix/libstore/gc.cc"					\
-- 
1.7.10.4

Reply via email to