Skip to content

Commit

Permalink
fix: conf path (#632)
Browse files Browse the repository at this point in the history
* fix: conf path

* fix: conf path
  • Loading branch information
wayyoungboy authored Dec 18, 2024
1 parent 84295a6 commit c7bfeaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rpm/oceanbase-diagnostic-tool.spec
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ cd $SRC_DIR
\cp -rf $SRC_DIR/example $BUILD_DIR/SOURCES/example
\cp -rf $SRC_DIR/resources $BUILD_DIR/SOURCES/
\cp -rf $SRC_DIR/dependencies/bin $BUILD_DIR/SOURCES/dependencies
\cp -rf $SRC_DIR/plugins $BUILD_DIR/plugins
\cp -rf $SRC_DIR/plugins $BUILD_DIR/SOURCES/
\cp -rf $SRC_DIR/rpm/init.sh $BUILD_DIR/SOURCES/init.sh
\cp -rf $SRC_DIR/rpm/init_obdiag_cmd.sh $BUILD_DIR/SOURCES/init_obdiag_cmd.sh
\cp -rf $SRC_DIR/rpm/obdiag_backup.sh $BUILD_DIR/SOURCES/obdiag_backup.sh
\cp -rf $SRC_DIR/conf $BUILD_DIR/SOURCES/conf
\cp -rf $SRC_DIR/conf $BUILD_DIR/SOURCES/
mkdir -p ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/lib/
mkdir -p ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/dependencies/bin
find $SRC_DIR -name "obdiag"
Expand All @@ -55,11 +55,11 @@ find $SRC_DIR -name "obdiag"
\cp -rf $BUILD_DIR/SOURCES/resources ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/resources
\cp -rf $BUILD_DIR/SOURCES/dependencies/bin ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/dependencies
\cp -rf $BUILD_DIR/SOURCES/example ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/
\cp -rf $BUILD_DIR/SOURCES/conf ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/
\cp -rf $BUILD_DIR/SOURCES/conf ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/conf
\cp -rf $BUILD_DIR/SOURCES/init.sh ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/
\cp -rf $BUILD_DIR/SOURCES/init_obdiag_cmd.sh ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/
\cp -rf $BUILD_DIR/SOURCES/obdiag_backup.sh ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/
\cp -rf $BUILD_DIR/plugins ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/
\cp -rf $BUILD_DIR/SOURCES/plugins ${RPM_BUILD_ROOT}/usr/local/oceanbase-diagnostic-tool/


%files
Expand Down

0 comments on commit c7bfeaa

Please sign in to comment.