mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
0c5028faea
commit
b1aa25be00
1 changed files with 1 additions and 1 deletions
|
@ -76,5 +76,5 @@ sed -i "$top_srcdir/nix/libstore/gc.cc" \
|
||||||
# context is expected to truly copy the underlying hash context. The copy
|
# 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
|
# constructor cannot be used in 'Ctx' if that's a union, so turn it into a
|
||||||
# structure (we can afford to two wasted words.)
|
# 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'
|
-e 's|union Ctx|struct Ctx|g'
|
||||||
|
|
Loading…
Reference in a new issue