]>
Commit | Line | Data |
---|---|---|
a7b2ef73 | 1 | diff -Nru axel-1.0a/conf.c axel-1.0a.new/conf.c |
2 | --- axel-1.0a/conf.c Tue Feb 19 18:10:37 2002 | |
3 | +++ axel-1.0a.new/conf.c Sun Mar 23 14:26:22 2003 | |
4 | @@ -148,6 +148,13 @@ | |
5 | if( !conf_loadfile( conf, ETCDIR "/axelrc" ) ) | |
6 | return( 0 ); | |
7 | ||
8 | + if( ( s2 = getenv( "ETC_DIR" ) ) != NULL ) | |
9 | + { | |
10 | + sprintf( s, "%s/%s", s2, "axelrc" ); | |
11 | + if( !conf_loadfile( conf, s ) ) | |
12 | + return( 0 ); | |
13 | + } | |
14 | + else | |
15 | if( ( s2 = getenv( "HOME" ) ) != NULL ) | |
16 | { | |
17 | sprintf( s, "%s/%s", s2, ".axelrc" ); |