Skip to content

Commit

Permalink
games-fps/redeclipse: fix dosym and wrapper, fix bug 647170
Browse files Browse the repository at this point in the history
Fixed dosym syntax to install the symlink in the correct location.
Fixed wrapper script conditional to evaluate script call name
correctly.

Closes: https://bugs.gentoo.org/647170
Closes: gentoo#7142
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
kitsunenokenja authored and mgorny committed Feb 11, 2018
1 parent c39f04f commit b25f79b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion games-fps/redeclipse/files/redeclipse
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
SERVER=/usr/bin/redeclipse_server_linux
CLIENT=/usr/bin/redeclipse_linux
cd /usr/share/redeclipse || exit 1
[ "$0" = "redeclipse_server" ] && exec $SERVER || exec $CLIENT
[ "${0##*/}" = "redeclipse_server" ] && exec "${SERVER}" || exec "${CLIENT}"
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,5 @@ src_install() {
dodoc readme.txt doc/examples/servinit.cfg

dobin "${FILESDIR}/redeclipse"
cd /usr/bin || die
dosym redeclipse redeclipse_server
dosym redeclipse /usr/bin/redeclipse_server
}

0 comments on commit b25f79b

Please sign in to comment.