mirror of
https://github.com/estkme-group/lpac
synced 2024-07-02 06:46:39 +02:00
sed all asn1c header to dir local include
This commit is contained in:
parent
63b564022a
commit
1293c3d932
|
@ -1 +1,3 @@
|
||||||
asn1c -fwide-types -fcompound-names -fincludes-quoted -no-gen-example asn1/PKIXExplicit88.asn asn1/PKIXImplicit88.asn asn1/rsp.asn
|
asn1c -fwide-types -fcompound-names -fincludes-quoted -no-gen-example ../../../asn1/PKIXExplicit88.asn ../../../asn1/PKIXImplicit88.asn ../../../asn1/rsp.asn
|
||||||
|
|
||||||
|
find "." -type f \( -name "*.c" -o -name "*.h" \) | while read -r file; do for header in $(find "." -type f -name "*.h"); do header_file=$(basename "$header"); sed -i "/#include <${header_file}>/c\#include \"${header_file}\"" "$file"; done; done
|
||||||
|
|
Loading…
Reference in a new issue