Skip to content

Commit c12d53e

Browse files
committed
build(systemd-service-manager): 修改本地输出文件路径
将本地输出文件从 systemd-service-manager.sh 移动到 systemd-service-manager/systemd-service-manager.local.sh, 并添加 *.local.sh 到 .gitignore 文件中以避免提交本地配置文件。
1 parent 8b616d7 commit c12d53e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/bash/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.local.sh

scripts/bash/systemd-service-manager/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -Eeuo pipefail
77
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
88
REPO_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
99
BIN_OUTPUT="${REPO_ROOT}/bin/systemd-service-manager"
10-
LOCAL_OUTPUT="${REPO_ROOT}/scripts/bash/systemd-service-manager.sh"
10+
LOCAL_OUTPUT="${REPO_ROOT}/scripts/bash/systemd-service-manager/systemd-service-manager.local.sh"
1111

1212
MODULES=(
1313
"${SCRIPT_DIR}/common.sh"

0 commit comments

Comments
 (0)