FIx up module header too

This commit is contained in:
Tristan B. Velloza Kildaire 2021-08-28 11:57:05 +02:00
parent 70c78d37ff
commit 6ef30473c1
5 changed files with 7 additions and 3 deletions

Binary file not shown.

View File

@ -6,5 +6,9 @@ protoCodeFile=source/libdnet/protobuf/dnet.d
# Fix up
cat $protoCodeFile | sed -e "s/source.libdnet.protobuf./ /" > tmpFile
# Fix up module header
cat tmpFile | sed -e "s/dnet/libdnet.protobuf.dnet/" > tmpFile2
rm tmpFile
# This thing got whacky
mv tmpFile $protoCodeFile
mv tmpFile2 $protoCodeFile

View File

@ -1,7 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dnet.proto
// source: libdnet.protobuf.dnet.proto
module dnet;
module libdnet.protobuf.dnet;
import google.protobuf;
import account;