Skip to content

Commit

Permalink
xh: fix symlink creation
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Oct 21, 2023
1 parent 3126698 commit 51494d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/xh.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ install -Dpm 755 target/release/%{name} %{buildroot}%{_bindir}/%{name}

# symlink
# `xh` will default to HTTPS scheme if the binary name is one of `xhs`, `https`, or `xhttps`
ln -sf %{_bindir}/%{name} %{_bindir}/%{name}s
ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}s

# manpage
install -Dpm 644 doc/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
Expand Down

0 comments on commit 51494d7

Please sign in to comment.