From b1aa25be00c58285c61d9bb25afa7885269e98c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 19 Dec 2013 00:42:35 +0100 Subject: [PATCH] sync-with-upstream: Work around limitation of dash. Reported by Andreas Enge . * nix/sync-with-upstream: Expand use of {cc,hh}, to placate dash. --- nix/sync-with-upstream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'