summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Zigo <tomas.zigo@slovanet.sk>2021-09-24 14:22:58 +0200
committerSam James <sam@gentoo.org>2021-09-25 00:35:58 +0100
commit2ccaae3b5887aa7fd4b402ea7ca77a8633ec6e49 (patch)
tree72e714337aa85559be9b2311a082b7ec1d9f443c /sci-geosciences
parentsci-geosciences/grass: Add missing OR condition (diff)
downloadgentoo-2ccaae3b5887aa7fd4b402ea7ca77a8633ec6e49.tar.gz
gentoo-2ccaae3b5887aa7fd4b402ea7ca77a8633ec6e49.tar.bz2
gentoo-2ccaae3b5887aa7fd4b402ea7ca77a8633ec6e49.zip
sci-geosciences/grass: Fix search and replace "GRASS_PYTHON" variable
Fix search & replace "GRASS_PYTHON" shell environment variable * GRASS GIS use Python Black code formatter tool (single quotation mark -> double quotation mark) * fix error if you launch 'd.mon start=wx0' command: 'main.py: no python-exec wrapped executable found in /usr/lib/python-exec.' Closes: https://github.com/gentoo/gentoo/pull/22333 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/grass/grass-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-geosciences/grass/grass-9999.ebuild b/sci-geosciences/grass/grass-9999.ebuild
index 96940103bfdf..9c8670fef28c 100644
--- a/sci-geosciences/grass/grass-9999.ebuild
+++ b/sci-geosciences/grass/grass-9999.ebuild
@@ -230,8 +230,8 @@ GISBASE = os.path.normpath(\"${gisbase}\"):" \
"${ED}"${gisbase}/etc/fontcap || die
# set proper python interpreter
- sed -e "s:os.environ\['GRASS_PYTHON'\] = \"python3\":\
-os.environ\['GRASS_PYTHON'\] = \"${EPYTHON}\":" \
+ sed -e "s:os.environ\[\"GRASS_PYTHON\"\] = \"python3\":\
+os.environ\[\"GRASS_PYTHON\"\] = \"${EPYTHON}\":" \
-i "${ED}"/usr/bin/${MY_PM} || die
# set proper GISDBASE directory path in the demolocation .grassrc80 file