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: 592002c406f73bcd87eedb8b2812df8d008ada50 (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 51ed7b957069bd3765222a466473c696755caa5e 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 e7dba8c91..e29fcd61e 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.26.2