File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
build/resources/rpm/SPECS Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ mkdir -p %{buildroot}/opt/sourcegit
2020mkdir -p %{buildroot }/%{_bindir }
2121mkdir -p %{buildroot }/usr/share/applications
2222mkdir -p %{buildroot }/usr/share/icons
23- cp -f .. /../../SourceGit/* %{buildroot }/opt/sourcegit/
23+ cp -f %{ _topdir } /../../SourceGit/* %{buildroot }/opt/sourcegit/
2424ln -rsf %{buildroot }/opt/sourcegit/sourcegit %{buildroot }/%{_bindir }
25- cp -r .. /../_common/applications %{buildroot }/%{_datadir }
26- cp -r .. /../_common/icons %{buildroot }/%{_datadir }
25+ cp -r %{ _topdir } /../_common/applications %{buildroot }/%{_datadir }
26+ cp -r %{ _topdir } /../_common/icons %{buildroot }/%{_datadir }
2727chmod 755 -R %{buildroot }/opt/sourcegit
2828chmod 755 %{buildroot }/%{_datadir }/applications/sourcegit.desktop
2929
You can’t perform that action at this time.
0 commit comments