summary refs log tree commit diff
path: root/pkgs/os-specific/linux/chromium-os/common-mk/0002-common-mk-.gn-don-t-hardcode-env-path.patch
blob: a6ac5b1e9ac369541504473872d59d5965d3c03f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 7d33bcd724ec79d00281c2752f9642be25782370 Mon Sep 17 00:00:00 2001
From: Alyssa Ross <hi@alyssa.is>
Date: Sun, 24 Nov 2019 17:20:46 +0000
Subject: [PATCH 2/6] common-mk: .gn: don't hardcode env path

This is needlessly non-portable.
---
 .gn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gn b/.gn
index e7dba8c91c..e29fcd61ee 100644
--- a/.gn
+++ b/.gn
@@ -7,4 +7,4 @@ root = "//common-mk/gn_root/:"
 
 # This makes all scripts run by gn respect the shebang setting of the script.
 # Otherwise, the default is to always use `python`.
-script_executable = "/usr/bin/env"
+script_executable = "env"
-- 
2.32.0