diff --git a/gn b/gn index 93c16e1d6f..6ae3065a36 100755 --- a/gn +++ b/gn @@ -5,4 +5,4 @@ base_dir=$(dirname "$0") -PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gn.py" "$@" +PYTHONDONTWRITEBYTECODE=1 exec python3 "$base_dir/gn.py" "$@" diff --git a/gn.bat b/gn.bat index 9eb6b56a1f..7403bfb57e 100644 --- a/gn.bat +++ b/gn.bat @@ -9,4 +9,4 @@ setlocal set PATH=%PATH%;%~dp0 :: Defer control. -python "%~dp0\gn.py" %* +python3 "%~dp0\gn.py" %* diff --git a/gn.py b/gn.py index 43b18dd009..52d892dba9 100755 --- a/gn.py +++ b/gn.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file.