diff options
| author | lijia <[email protected]> | 2024-08-29 11:00:28 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-08-29 11:00:28 +0800 |
| commit | 2bb1e0673a69975ee1d6a4ac86f90a36c5f74fa8 (patch) | |
| tree | ae1df900590601e628940561a15b4713aeedb144 /cmake | |
| parent | 60b96b10eb985d13ef6df0f4fc525074e7128325 (diff) | |
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/preInstall.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/preInstall.sh b/cmake/preInstall.sh index 1c763db..9c53f3d 100644 --- a/cmake/preInstall.sh +++ b/cmake/preInstall.sh @@ -4,10 +4,10 @@ DST=${RPM_INSTALL_PREFIX}/sapp/ mkdir -p ${DST}/stellar_plugin touch ${DST}/stellar_plugin/spec.toml -if ! grep -q '^\./plug/stellar_plugin/quic_decoder/quic_decoder.so' "${DST}/stellar_plugin/spec.toml"; then +if ! grep -q '^\./stellar_plugin/quic_decoder.so' "${DST}/stellar_plugin/spec.toml"; then echo -e "\n" >> "${DST}/stellar_plugin/spec.toml" echo -e "[[plugin]]" >> "${DST}/stellar_plugin/spec.toml" - echo -e "path = \"./stellar_plugin/quic_decoder/quic_decoder.so\"" >> "${DST}/stellar_plugin/spec.toml" + echo -e "path = \"./stellar_plugin/quic_decoder.so\"" >> "${DST}/stellar_plugin/spec.toml" echo -e "init = \"QUIC_ONLOAD\"" >> "${DST}/stellar_plugin/spec.toml" echo -e "exit = \"QUIC_UNLOAD\"" >> "${DST}/stellar_plugin/spec.toml" echo -e "\n" >> "${DST}/stellar_plugin/spec.toml" |
