summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2020-05-29 17:58:57 +0800
committerliuxueli <[email protected]>2020-05-29 17:58:57 +0800
commitd2ad9ab2c4f3e97ccbcf77c10f82d913de88fcfe (patch)
tree3b54fdcb1c374837ba537cbc117d5e2a6e4e7710
parent0e2056b48ef99aa9d7cf2a0443cb26f61f485fc2 (diff)
修复预安装脚本核查entrylist.conf时路径错误的BUG
-rw-r--r--cmake/preInstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/preInstall.sh b/cmake/preInstall.sh
index 7188830..f7bb453 100644
--- a/cmake/preInstall.sh
+++ b/cmake/preInstall.sh
@@ -6,6 +6,6 @@ touch ${DST}/etc/entrylist.conf
if [[ -z `grep -rn 'quic.inf' ${DST}/plug/conflist.inf` ]];then
sed -i '/\[protocol\]/a\./plug/protocol/quic/quic.inf' ${DST}/plug/conflist.inf
fi
-if [[ -z `grep -rn 'quic' ${DST}etc/entrylist.conf` ]];then
- echo "QUIC" >> ${DST}etc/entrylist.conf
+if [[ -z `grep -rn 'QUIC' ${DST}/etc/entrylist.conf` ]];then
+ echo "QUIC" >> ${DST}/etc/entrylist.conf
fi