9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "quiekaizam via 9fans" <9fans@9fans.net>
To: 9fans@9fans.net
Subject: [9fans] Error when trying to install contrib/install
Date: Wed, 22 Feb 2023 17:00:23 +0900	[thread overview]
Message-ID: <2VOJTJLZ8QZ09.25HAX8IFSBU7Q@wilsonb.com> (raw)

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

             reply	other threads:[~2023-02-22  8:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-22  8:00 quiekaizam via 9fans [this message]
2023-02-24  7:45 ` Anthony Sorace
2023-02-24 12:33   ` Alex Musolino
2023-02-24 13:43     ` ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2VOJTJLZ8QZ09.25HAX8IFSBU7Q@wilsonb.com \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).