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
20
20
mkdir -p %{buildroot }/%{_bindir }
21
21
mkdir -p %{buildroot }/usr/share/applications
22
22
mkdir -p %{buildroot }/usr/share/icons
23
- cp -f .. /../../SourceGit/* %{buildroot }/opt/sourcegit/
23
+ cp -f %{ _topdir } /../../SourceGit/* %{buildroot }/opt/sourcegit/
24
24
ln -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 }
27
27
chmod 755 -R %{buildroot }/opt/sourcegit
28
28
chmod 755 %{buildroot }/%{_datadir }/applications/sourcegit.desktop
29
29
You can’t perform that action at this time.
0 commit comments