summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2023-01-18 20:52:37 +0800
committerJoonas Niilola <juippis@gentoo.org>2023-01-27 09:33:23 +0200
commit0e5f3e7615d2f9ccee3c8dc00d7d1a36c68c5f57 (patch)
tree33fc6bc963aae07b769e47c453f681dc6cd93eef /dev-util/rocm-smi
parentmedia-sound/wildmidi: add 0.4.5 (diff)
downloadgentoo-0e5f3e7615d2f9ccee3c8dc00d7d1a36c68c5f57.tar.gz
gentoo-0e5f3e7615d2f9ccee3c8dc00d7d1a36c68c5f57.tar.bz2
gentoo-0e5f3e7615d2f9ccee3c8dc00d7d1a36c68c5f57.zip
dev-util/rocm-smi: Fix shebang of rocm-smi
The shebang of rocm_smi.py is `/usr/bin/env python3`, thus should be mangled. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/rocm-smi')
-rw-r--r--dev-util/rocm-smi/rocm-smi-5.1.3.ebuild2
-rw-r--r--dev-util/rocm-smi/rocm-smi-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/rocm-smi/rocm-smi-5.1.3.ebuild b/dev-util/rocm-smi/rocm-smi-5.1.3.ebuild
index 90b2396a727d..f2b4fc660707 100644
--- a/dev-util/rocm-smi/rocm-smi-5.1.3.ebuild
+++ b/dev-util/rocm-smi/rocm-smi-5.1.3.ebuild
@@ -57,6 +57,6 @@ src_configure() {
src_install() {
cmake_src_install
- python_foreach_impl python_newexe python_smi_tools/rocm_smi.py rocm-smi
+ python_foreach_impl python_newscript python_smi_tools/rocm_smi.py rocm-smi
python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py
}
diff --git a/dev-util/rocm-smi/rocm-smi-9999.ebuild b/dev-util/rocm-smi/rocm-smi-9999.ebuild
index 16c82ecdbbe5..8d35ce910b8b 100644
--- a/dev-util/rocm-smi/rocm-smi-9999.ebuild
+++ b/dev-util/rocm-smi/rocm-smi-9999.ebuild
@@ -51,6 +51,6 @@ src_configure() {
src_install() {
cmake_src_install
- python_foreach_impl python_newexe python_smi_tools/rocm_smi.py rocm-smi
+ python_foreach_impl python_newscript python_smi_tools/rocm_smi.py rocm-smi
python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py
}