diff --git a/src/Makefile b/src/Makefile index 34151b7..c2e9845 100644 --- a/src/Makefile +++ b/src/Makefile @@ -199,7 +199,7 @@ install: all pkg-config install -d $(PMREORDER_DESTDIR) install -p -m 0644 $(PMREORDER_FILES) $(PMREORDER_DESTDIR) @echo "#!/bin/sh" > $(PMREORDER_SRC)/pmreorder - @echo "exec python3 $(PMREORDER_ROOTDIR)/pmreorder.py \$$*" >> $(PMREORDER_SRC)/pmreorder + @echo "exec /usr/libexec/platform-python $(PMREORDER_ROOTDIR)/pmreorder.py \$$*" >> $(PMREORDER_SRC)/pmreorder install -d $(PMREORDER_BIN) install -p $(PMREORDER_SRC)/pmreorder $(PMREORDER_BIN) $(RM) $(PKG_CONFIG_FILES) diff --git a/src/tools/pmreorder/pmreorder.py b/src/tools/pmreorder/pmreorder.py index 80c1726..3420dbb 100755 --- a/src/tools/pmreorder/pmreorder.py +++ b/src/tools/pmreorder/pmreorder.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/libexec/platform-python # # Copyright 2018, Intel Corporation #