diff options
Diffstat (limited to 'games-fps/redeclipse')
-rw-r--r-- | games-fps/redeclipse/files/redeclipse | 2 | ||||
-rw-r--r-- | games-fps/redeclipse/redeclipse-1.6.0-r2.ebuild (renamed from games-fps/redeclipse/redeclipse-1.6.0-r1.ebuild) | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/games-fps/redeclipse/files/redeclipse b/games-fps/redeclipse/files/redeclipse index 667765d11d93..9f2c62fead05 100644 --- a/games-fps/redeclipse/files/redeclipse +++ b/games-fps/redeclipse/files/redeclipse @@ -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}" diff --git a/games-fps/redeclipse/redeclipse-1.6.0-r1.ebuild b/games-fps/redeclipse/redeclipse-1.6.0-r2.ebuild index 8d7b902e19d7..f809f77f1513 100644 --- a/games-fps/redeclipse/redeclipse-1.6.0-r1.ebuild +++ b/games-fps/redeclipse/redeclipse-1.6.0-r2.ebuild @@ -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 } |