9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Bug: Acme: Acme mangles $PATH on Linux
@ 2024-09-30 17:39 kalterdev
  0 siblings, 0 replies; only message in thread
From: kalterdev @ 2024-09-30 17:39 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1001 bytes --]

Expected behavior

Acme shouldn't touch $PATH.

Unexpected behavior

It adds the path of plan9port binaries to the beginning of the PATH.

Thus, Acme runs Plan 9 programs by default, which is contrary to
plan9port's stated recommendation to put the path of the binaries to
the end of PATH:

> . . . it is not recommended to put $PLAN9/bin before the usual
> system bin directories in your search path. Instead, put it at the
> end of your path and use the 9(1) script when you want to invoke the
> Plan 9 version of a traditional Unix command.

https://9fans.github.io/plan9port/man/man1/intro.html

Steps to reproduce the problem

Run Acme on Linux.

plan9port version

20240617-1, from the official Arch Linux repos.

OS version

Arch Linux

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td70a078215d37af8-M46f9de631eba71eae812003e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2033 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-30 17:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-30 17:39 [9fans] Bug: Acme: Acme mangles $PATH on Linux kalterdev

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).