From 740c2298c6a649f65378b1d7adcd9ebbe1328c99 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Sun, 18 Nov 2018 14:16:24 +0800 Subject: [PATCH] build: Don't hardcode the path of python3 Python is not guaranteed to be installed in /usr/bin. This is especially true for *BSD systems which don't consider Python as an integral part of their systems. --- src/backends/native/gen-default-modes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/native/gen-default-modes.py b/src/backends/native/gen-default-modes.py index 304cd0303..aeccc0d28 100755 --- a/src/backends/native/gen-default-modes.py +++ b/src/backends/native/gen-default-modes.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Copyright (C) 2016 Red Hat Inc. #