diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-05 10:13:54 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-05 10:13:54 +0200 |
commit | ece5f6c9f42b946f4d96613966615f6eedf1b12b (patch) | |
tree | 613806868e40c70c815009adb8ec5c44b1389bd6 /games-simulation/simutrans | |
parent | app-text/dos2unix: Bump to version 7.3.5 (diff) | |
download | gentoo-ece5f6c9f42b946f4d96613966615f6eedf1b12b.tar.gz gentoo-ece5f6c9f42b946f4d96613966615f6eedf1b12b.tar.bz2 gentoo-ece5f6c9f42b946f4d96613966615f6eedf1b12b.zip |
games-simulation/simutrans: Fixed broken rm call in src_prepare.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'games-simulation/simutrans')
-rw-r--r-- | games-simulation/simutrans/simutrans-0.120.2.2.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/games-simulation/simutrans/simutrans-0.120.2.2.ebuild b/games-simulation/simutrans/simutrans-0.120.2.2.ebuild index aab9fb8ef317..f175a36b9e03 100644 --- a/games-simulation/simutrans/simutrans-0.120.2.2.ebuild +++ b/games-simulation/simutrans/simutrans-0.120.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -50,17 +50,15 @@ src_prepare() { default strip-flags # bug #293927 - echo "BACKEND=mixer_sdl -COLOUR_DEPTH=16 -OSTYPE=linux -VERBOSE=1" > config.default || die + printf "BACKEND=mixer_sdl\nCOLOUR_DEPTH=16\nOSTYPE=linux\nVERBOSE=1" \ + > config.default || die # make it look in the install location for the data sed -i \ -e "s:argv\[0\]:\"/usr/share/${PN}/\":" \ simmain.cc || die - rm -v simutrans/{simutrans,*.txt} || die + rm simutrans/*.txt || die } src_install() { |