From 21289bb2095785a57fb63950ef5f427aa073678f Mon Sep 17 00:00:00 2001 From: kingecg Date: Mon, 23 Jun 2025 23:17:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(install):=20=E4=BF=AE=E6=94=B9=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E8=84=9A=E6=9C=AC=E4=BB=A5=E5=88=9B=E5=BB=BA=E5=BF=85?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在创建 /usr/local/gohttpd 目录的基础上,增加了 /usr/local/gohttpd/include 子目录 - 这个修改确保了在安装过程中所需的目录结构被正确创建,避免了潜在的文件复制错误 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 46047c8..b601dc5 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ fi scriptPath=$( cd `dirname $0` && pwd ) # 创建目录/usr/local/gohttpd -mkdir -p /usr/local/gohttpd +mkdir -p /usr/local/gohttpd/include # 复制文件到scriptPath下的所有文件到/usr/local/gohttpd cp -r $scriptPath/* /usr/local/gohttpd/ # link /usr/local/gohttpd/gohttpd to /usr/local/bin/gohttpd