mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 15:02:20 +01:00
Merge pull request #69 from savil/gen-target-fix
[fuzz] remove \L in sed regex for filenames in gen_target.sh
This commit is contained in:
commit
add1d9d9e5
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
for target in CommitmentSigned FundingCreated FundingLocked FundingSigned OpenChannel RevokeAndACK Shutdown UpdateAddHTLC UpdateFailHTLC UpdateFailMalformedHTLC UpdateFee UpdateFulfillHTLC AcceptChannel ClosingSigned; do
|
||||
tn=$(echo $target | sed 's/\([a-z0-9]\)\([A-Z]\)/\1_\L\2/g')
|
||||
tn=$(echo $target | sed 's/\([a-z0-9]\)\([A-Z]\)/\1_\2/g')
|
||||
fn=msg_$(echo $tn | tr '[:upper:]' '[:lower:]')_target.rs
|
||||
cat msg_target_template.txt | sed s/MSG_TARGET/$target/ > $fn
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue