Skip to content

Commit

Permalink
[fix]curvefs/monitor: install shell
Browse files Browse the repository at this point in the history
Set the correct source directory according to fs/bs

Signed-off-by: Cyber-SiKu <[email protected]>
  • Loading branch information
Cyber-SiKu authored and SeanHai committed Jan 11, 2023
1 parent 3dad52e commit 9de6b45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion util/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,11 @@ install_monitor() {
g_project_name=$project_name

local project_prefix="$g_prefix/monitor"
local dst="monitor"
if [ "$g_stor" == "bs" ]; then
local dst="monitor"
else
local dst="curvefs/monitor"
fi
mkdir -p $project_prefix
mkdir -p "$project_prefix/prometheus"
mkdir -p "$project_prefix/data"
Expand Down

0 comments on commit 9de6b45

Please sign in to comment.