* some mkfiles assume '.' in path env var
@ 2020-04-14 2:45 Silas McCroskey
2020-04-18 17:08 ` [9front] " cinap_lenrek
0 siblings, 1 reply; 2+ messages in thread
From: Silas McCroskey @ 2020-04-14 2:45 UTC (permalink / raw)
To: 9front
[-- Attachment #1: Type: text/plain, Size: 964 bytes --]
here's hoping gmail doesn't mangle the hell outta this. Sending as an
attachment as well in case it does.
Updated for the first time in a while today and was flummoxed for a
bit before figuring this out. A bit surprised that rc doesn't just do
the right thing here, but it's easy enough to fix.
- sam-d
---
diff -r 1639f326a090 sys/src/cmd/7l/mkfile
--- a/sys/src/cmd/7l/mkfile Tue Apr 14 02:04:54 2020 +0000
+++ b/sys/src/cmd/7l/mkfile Tue Apr 14 02:36:54 2020 +0000
@@ -29,7 +29,7 @@
@ { cd ../7c; mk enam.c }
cnam.c: l.h mkcname
- rc mkcname
+ rc ./mkcname
enam.$O: ../7c/enam.c
$CC $CFLAGS ../7c/enam.c
diff -r 1639f326a090 sys/src/cmd/ql/mkfile
--- a/sys/src/cmd/ql/mkfile Tue Apr 14 02:04:54 2020 +0000
+++ b/sys/src/cmd/ql/mkfile Tue Apr 14 02:36:54 2020 +0000
@@ -26,5 +26,5 @@
enam.$O: ../qc/enam.c
$CC $CFLAGS ../qc/enam.c
cnam.c: l.h
- rc mkcname
+ rc ./mkcname
compat.$O: ../cc/compat
[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 605 bytes --]
diff -r 1639f326a090 sys/src/cmd/7l/mkfile
--- a/sys/src/cmd/7l/mkfile Tue Apr 14 02:04:54 2020 +0000
+++ b/sys/src/cmd/7l/mkfile Tue Apr 14 02:36:54 2020 +0000
@@ -29,7 +29,7 @@
@ { cd ../7c; mk enam.c }
cnam.c: l.h mkcname
- rc mkcname
+ rc ./mkcname
enam.$O: ../7c/enam.c
$CC $CFLAGS ../7c/enam.c
diff -r 1639f326a090 sys/src/cmd/ql/mkfile
--- a/sys/src/cmd/ql/mkfile Tue Apr 14 02:04:54 2020 +0000
+++ b/sys/src/cmd/ql/mkfile Tue Apr 14 02:36:54 2020 +0000
@@ -26,5 +26,5 @@
enam.$O: ../qc/enam.c
$CC $CFLAGS ../qc/enam.c
cnam.c: l.h
- rc mkcname
+ rc ./mkcname
compat.$O: ../cc/compat
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-18 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14 2:45 some mkfiles assume '.' in path env var Silas McCroskey
2020-04-18 17:08 ` [9front] " cinap_lenrek
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).