Skip to content

Commit

Permalink
Merge pull request #2853 from actiontech/fix_jdk_dir
Browse files Browse the repository at this point in the history
fix: create jdk dir and update sqled.spec
  • Loading branch information
LordofAvernus authored Jan 3, 2025
2 parents 1749f87 + be059b1 commit 4e136f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/sqled.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/local/sqle/bin
mkdir -p %{_builddir}/%{buildsubdir}/sqle/plugins
mkdir -p $RPM_BUILD_ROOT/usr/local/sqle/scripts
mkdir -p $RPM_BUILD_ROOT/usr/local/%{name}/jdk
mkdir -p $RPM_BUILD_ROOT/usr/local/sqle/jdk
cp %{_builddir}/%{buildsubdir}/sqle/bin/sqled $RPM_BUILD_ROOT/usr/local/sqle/bin/sqled
cp %{_builddir}/%{buildsubdir}/sqle/bin/scannerd $RPM_BUILD_ROOT/usr/local/sqle/bin/scannerd
cp -R %{_builddir}/%{buildsubdir}/sqle/plugins $RPM_BUILD_ROOT/usr/local/sqle/plugins
cp %{_builddir}/%{buildsubdir}/sqle/scripts/sqled.systemd $RPM_BUILD_ROOT/usr/local/sqle/scripts/sqled.systemd
cp %{_builddir}/%{buildsubdir}/sqle/scripts/sqled.initd $RPM_BUILD_ROOT/usr/local/sqle/scripts/sqled.initd
cp %{_builddir}/%{buildsubdir}/sqle/scripts/pt-online-schema-change.template $RPM_BUILD_ROOT/usr/local/sqle/scripts/pt-online-schema-change.template
# cp -R %{_builddir}/%{buildsubdir}/sqle/ui $RPM_BUILD_ROOT/usr/local/sqle/ui
cp -R %{_builddir}/%{buildsubdir}/%{name}/jdk/* $RPM_BUILD_ROOT/usr/local/%{name}/jdk
cp -R %{_builddir}/%{buildsubdir}/sqle/jdk/* $RPM_BUILD_ROOT/usr/local/sqle/jdk

##########

Expand Down
Empty file added jdk/gitkeep
Empty file.

0 comments on commit 4e136f6

Please sign in to comment.