summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/gcc-python-plugin/files/gcc-with-python')
-rwxr-xr-xdev-util/gcc-python-plugin/files/gcc-with-python4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-util/gcc-python-plugin/files/gcc-with-python b/dev-util/gcc-python-plugin/files/gcc-with-python
index e0351c7..6ba6268 100755
--- a/dev-util/gcc-python-plugin/files/gcc-with-python
+++ b/dev-util/gcc-python-plugin/files/gcc-with-python
@@ -1,5 +1,3 @@
#!/bin/sh
-PYTHON_VERSION=$(eselect python show --ABI | sed 's/^\([0-9][0-9]*\)\..*/\1/');
-
-gcc-with-python${PYTHON_VERSION} $@ \ No newline at end of file
+"gcc-with-$(eselect python show)" $@