caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Thomas Gazagnaire <thomas@ocamlpro.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: Dario Teixeira <darioteixeira@yahoo.com>,
	OCaml mailing-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Creating fresh OPAM repository
Date: Tue, 11 Dec 2012 17:52:16 +0100	[thread overview]
Message-ID: <B42610B2-97E6-468E-AC6A-DFE9C6D43249@ocamlpro.com> (raw)
In-Reply-To: <182A6D66-36B5-40E5-AB52-2BF45E7B4BCC@recoil.org>

> Just mkdir the directory first.  There's nothing special about a local remote
> except that a "packages" directory is expected.
> 
> $ mkdir -p /foo/bar/packages
> $ opam remote -add local /foo/bar
> 
> should (hopefully) do the trick.

Indeed, sorry for the confusion, you need to add '-add' and /foo/bar must already exists (and can be empty -- the package subdir is not mandatory).

Thomas


  reply	other threads:[~2012-12-11 16:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 15:06 Dario Teixeira
2012-12-11 15:55 ` Thomas Gazagnaire
2012-12-11 16:31   ` Dario Teixeira
2012-12-11 16:48     ` Anil Madhavapeddy
2012-12-11 16:52       ` Thomas Gazagnaire [this message]
2012-12-11 18:40       ` Dario Teixeira

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=B42610B2-97E6-468E-AC6A-DFE9C6D43249@ocamlpro.com \
    --to=thomas@ocamlpro.com \
    --cc=anil@recoil.org \
    --cc=caml-list@inria.fr \
    --cc=darioteixeira@yahoo.com \
    /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).