diff --git a/src/main.c b/src/main.c index 2956813..ac16728 100644 --- a/src/main.c +++ b/src/main.c @@ -231,6 +231,10 @@ int main(int argc, char **argv) skipprev = 0; + if (options.ins_path) { + setenv("XMP_INSTRUMENT_PATH", options.ins_path, 1); + } + for (first = optind; optind < argc; optind++) { if (options.verbose > 0) { report("\nLoading %s... (%d of %d)\n", diff --git a/src/xmp.1 b/src/xmp.1 index 659bed1..02c0386 100644 --- a/src/xmp.1 +++ b/src/xmp.1 @@ -189,13 +189,6 @@ random order\&: .IP "" \f(CWxmp -R `find /mod -name "*\&.xm*" -print`\fP .PP -.SH "ENVIRONMENT" -.IP "\fBXMP_INSTRUMENT_PATH\fP" -Pathname to directory containing samples if not contained in the module\&. -.PP -.IP "\fBXMP_MED2_INSTRUMENT_PATH\fP" -Overrides samples directory for the MED2 loader\&. -.PP .SH "FILES" \f(CW/etc/xmp/xmp\&.conf\&, $HOME/\&.xmp/xmp\&.conf\&, /etc/xmp/modules\&.conf\&, $HOME/\&.xmp/modules\&.conf\fP .PP