[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: schroot



Le 07.10.2013 18:59, Shawn Wilson a écrit :
berenger.morel@neutralite.org wrote:


Le 07.10.2013 18:38, shawn wilson a écrit :
This is at the top of every config file, but I can't find it
documented:

. "$SETUP_DATA_DIR/common-data"
. "$SETUP_DATA_DIR/common-functions"
. "$SETUP_DATA_DIR/common-config"

Where is this being sourced from (ie, where is the 'common-data'
file?) and (more important) where is this documented?

Doing "echo $SETUP_DATA_DIR" should help you, I think. And for
documentation, reading about shell will also help you.


 I'm guessing this means it's exported by some schroot internal
mechanism inside the schroot? I'm not sure what I don't know about
bash that would help here? This doesn't seem to be an export bash
knows about?

I have no idea about what are the files you are speaking about, but the $ prefix usually indicates a variable in shell, and shell scripts are widely used in the system. To find what file could export that variable, try a grep -r SETUP_DATA_DIR, it might help you find which file uses that variable.


Reply to: