Menu

#21 setting datadir option in configfile

open
nobody
None
5
2002-04-17
2002-04-17
Han Boetes
No

ubh still tries to save things to the nonexisting
folder data even when the option is set in the
optionsfile:

DATADIR = /home/han/nfs/movies

The dirty fix was changing line 138 to

$datadir = "/home/han/nfs/movies";

OpenBSD current on i386; latest ubh

Discussion

  • Tim Eckel

    Tim Eckel - 2002-05-09

    Logged In: YES
    user_id=540051

    I don't have this problem with v2.5 or CVS v2.6b1.
    Remember, it defaults to loading ubhrc in your home
    directory, not your current directory. My guess is that
    it's loading a different ubhrc file in a different
    directory. What command line are you using?

     
  • Han Boetes

    Han Boetes - 2002-05-09

    Logged In: YES
    user_id=517758

    > I don't have this problem with v2.5 or CVS v2.6b1.

    It also happens on mandrake. I will check out cvs soon and see if
    that also has the same error.

    > Remember, it defaults to loading ubhrc in your home
    > directory, not your current directory.

    No I am not a newbie. :P

    > My guess is that it's loading a different ubhrc file in a
    > different directory.

    The other settings do get applied.

    > What command line are you using?

    ubh -G alt.binaries.movies -I "some pattern"

     
  • Tim Eckel

    Tim Eckel - 2002-05-09

    Logged In: YES
    user_id=540051

    For kicks, try something like this:

    ubh -G alt.binaries.movies -I "some pattern" -
    c /location/ubhrc

    It works fine for me. I was using version 1.5 or 1.6
    before and it defaulted to the current directory, now it
    defaults to the user's home directory so in this case,
    being a newbie may actually help :)

     

Log in to post a comment.

MongoDB Logo MongoDB