patches and low-level development discussion
 help / color / mirror / code / Atom feed
ba9e053dd7230924d5b4dd556927dcb65141ca57 blob 634 bytes (raw)

 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/5] 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

debug log:

solving ba9e053dd72 ...
found ba9e053dd72 in https://spectrum-os.org/lists/archives/spectrum-devel/20200530190028.6388-2-hi@alyssa.is/ ||
	https://spectrum-os.org/lists/archives/spectrum-devel/20200531030112.22029-1-hi@alyssa.is/
found 9d4843064d2 in https://spectrum-os.org/git/nixpkgs
preparing index
index prepared:
100644 9d4843064d26479c4945704151b057aab6922f22	pkgs/os-specific/linux/chromium-os/common-mk/0002-common-mk-.gn-don-t-hardcode-env-path.patch

applying [1/2] https://spectrum-os.org/lists/archives/spectrum-devel/20200530190028.6388-2-hi@alyssa.is/
diff --git a/pkgs/os-specific/linux/chromium-os/common-mk/0002-common-mk-.gn-don-t-hardcode-env-path.patch b/pkgs/os-specific/linux/chromium-os/common-mk/0002-common-mk-.gn-don-t-hardcode-env-path.patch
index 9d4843064d2..ba9e053dd72 100644

Checking patch pkgs/os-specific/linux/chromium-os/common-mk/0002-common-mk-.gn-don-t-hardcode-env-path.patch...
Applied patch pkgs/os-specific/linux/chromium-os/common-mk/0002-common-mk-.gn-don-t-hardcode-env-path.patch cleanly.

skipping https://spectrum-os.org/lists/archives/spectrum-devel/20200531030112.22029-1-hi@alyssa.is/ for ba9e053dd72
index at:
100644 ba9e053dd7230924d5b4dd556927dcb65141ca57	pkgs/os-specific/linux/chromium-os/common-mk/0002-common-mk-.gn-don-t-hardcode-env-path.patch

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).