summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-12-19 00:42:35 +0100
committerLudovic Courtès <ludo@gnu.org>2013-12-19 00:42:35 +0100
commitb1aa25be00c58285c61d9bb25afa7885269e98c9 (patch)
treef02974821e6470c7e861580b02225293a0f6a629 /nix
parent0c5028faea7e5c08c920f8ea31f02e7923b8c2d8 (diff)
downloadgnu-guix-b1aa25be00c58285c61d9bb25afa7885269e98c9.tar
gnu-guix-b1aa25be00c58285c61d9bb25afa7885269e98c9.tar.gz
sync-with-upstream: Work around limitation of dash.
Reported by Andreas Enge <andreas@enge.fr>. * nix/sync-with-upstream: Expand use of {cc,hh}, to placate dash.
Diffstat (limited to 'nix')
-rwxr-xr-xnix/sync-with-upstream2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/sync-with-upstream b/nix/sync-with-upstream
index bb3a68b917..720fae132e 100755
--- a/nix/sync-with-upstream
+++ b/nix/sync-with-upstream
@@ -76,5 +76,5 @@ sed -i "$top_srcdir/nix/libstore/gc.cc" \
# context is expected to truly copy the underlying hash context. The copy
# constructor cannot be used in 'Ctx' if that's a union, so turn it into a
# structure (we can afford to two wasted words.)
-sed -i "$top_srcdir/nix/libutil/hash".{cc,hh} \
+sed -i "$top_srcdir/nix/libutil/hash.cc" "$top_srcdir/nix/libutil/hash.hh" \
-e 's|union Ctx|struct Ctx|g'