9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Error when trying to install contrib/install
@ 2023-02-22  8:00 quiekaizam via 9fans
  2023-02-24  7:45 ` Anthony Sorace
  0 siblings, 1 reply; 4+ messages in thread
From: quiekaizam via 9fans @ 2023-02-22  8:00 UTC (permalink / raw)
  To: 9fans

Poking around with Plan 9 for the first time ever, so forgive the PEBKACiness.

Trying to get the contrib/install command installed, running

    % 9fs sources
    % mkdir -p /dist/replica/client
    % /n/sources/contrib/fgb/root/rc/bin/contrib/install fgb/contrib

However, it immediately fails with an error:

    test: unexpected operator/operand: -w
    cannot write in /dist/replica

It looks like that's coming from line 43:

    if(! test -d /dist/replica -w)

Indeed, my test(1) doesn't seem to support such syntax. Is this a version
problem? Any pointers would be appreciated.

Obligatory version information:

    % Last build and install from here
    % cat /dist/plan9front/.git/refs/heads/front
    c6a92afc...


- B. Wilson

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-24 13:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22  8:00 [9fans] Error when trying to install contrib/install quiekaizam via 9fans
2023-02-24  7:45 ` Anthony Sorace
2023-02-24 12:33   ` Alex Musolino
2023-02-24 13:43     ` ori

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