From: Andreas Enge <andreas@enge.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guix@gnu.org
Subject: Re: daemon: No rule to make target `nix/libstore/schema.sql'
Date: Fri, 14 Dec 2012 11:50:00 +0100 [thread overview]
Message-ID: <201212141150.00486.andreas@enge.fr> (raw)
In-Reply-To: <87pq2dez9m.fsf@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2174 bytes --]
[-- Attachment #2: 0003-nix-sync-with-upstream-fix-bashism.patch --]
[-- Type: text/x-patch, Size: 781 bytes --]
From 84ca150413d500760a85d5071a77c4fb025b1312 Mon Sep 17 00:00:00 2001
From: Andreas Enge <andreas@enge.fr>
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
next prev parent reply other threads:[~2012-12-14 10:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-11 11:55 daemon: No rule to make target `nix/libstore/schema.sql' Nikita Karetnikov
2012-12-13 21:20 ` Ludovic Courtès
2012-12-13 21:56 ` Andreas Enge
2012-12-13 22:19 ` Andreas Enge
2012-12-13 22:55 ` Ludovic Courtès
2012-12-13 23:05 ` Andreas Enge
2012-12-14 9:52 ` Ludovic Courtès
2012-12-14 10:50 ` Andreas Enge [this message]
2012-12-14 21:12 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201212141150.00486.andreas@enge.fr \
--to=andreas@enge.fr \
--cc=bug-guix@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).