Dirt icon indicating copy to clipboard operation
Dirt copied to clipboard

add dirt/samples directory to path

Open guaka opened this issue 10 years ago • 2 comments

I got some errors about dirt not being able to find samples/bd and samples/sn. Now I'm starting it like this:

pushd ~/dirt; ./dirt&
popd

It would be nice if dirt could find its own samples directory regardless from where it was started.

guaka avatar Aug 24 '14 21:08 guaka

Or maybe the samples folder should be specifiable on the commandline?

yaxu avatar Aug 26 '14 00:08 yaxu

-s|--samples-path is nice but both would be best. Actually I see three possibilities:

  1. use samples-path if it's set
  2. check cwd (and subdirs) for existence of usable samples, use this if yes
  3. find location of dirt and use that as fallback

guaka avatar Aug 26 '14 15:08 guaka