Skip to content

Commit

Permalink
fix init.sh: remove sh (#355)
Browse files Browse the repository at this point in the history
fix init.sh: remove sh
  • Loading branch information
Teingi authored Jul 22, 2024
1 parent abe2afe commit 53eb8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/oceanbase-diagnostic-tool.spec
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ find /usr/local/oceanbase-diagnostic-tool/obdiag -type f -exec chmod 644 {} \;
ln -sf /usr/local/oceanbase-diagnostic-tool/obdiag /usr/bin/obdiag
chmod +x /usr/local/oceanbase-diagnostic-tool/obdiag
cp -rf /usr/local/oceanbase-diagnostic-tool/init_obdiag_cmd.sh /etc/profile.d/obdiag.sh
sh /usr/local/oceanbase-diagnostic-tool/init.sh
/usr/local/oceanbase-diagnostic-tool/init.sh
echo -e 'Please execute the following command to init obdiag:\n'
echo -e '\033[32m source /usr/local/oceanbase-diagnostic-tool/init.sh \n \033[0m'

0 comments on commit 53eb8e1

Please sign in to comment.