sync-with-upstream: Work around limitation of dash.
authorLudovic Courtès <ludo@gnu.org>
Wed, 18 Dec 2013 23:42:35 +0000 (00:42 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 18 Dec 2013 23:42:35 +0000 (00:42 +0100)
Reported by Andreas Enge <andreas@enge.fr>.

* nix/sync-with-upstream: Expand use of {cc,hh}, to placate dash.

nix/sync-with-upstream

index bb3a68b..720fae1 100755 (executable)
@@ -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'