- Timestamp:
- Jan 23, 2012, 5:12:56 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.9
- Children:
- 9a2dd0c, ab88b05, 533b3a4
- Parents:
- 678f607
- git-author:
- Kevin Riggle <kevinr@free-dissociation.com> (12/26/11 17:35:51)
- git-committer:
- David Benjamin <davidben@mit.edu> (01/23/12 17:12:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl.pm
r7803326 r8135737 329 329 our @all_commands; 330 330 331 if(!$configfile && -f $ENV{HOME} . "/.barnowlconf") { 332 $configfile = $ENV{HOME} . "/.barnowlconf"; 333 } 334 $configfile ||= $ENV{HOME}."/.owlconf"; 331 if(!$configfile) { 332 if (-f get_config_dir() . "/init.pl") { 333 $configfile = get_config_dir() . "/init.pl"; 334 } elsif (-f $ENV{HOME} . "/.barnowlconf") { 335 $configfile = $ENV{HOME} . "/.barnowlconf"; 336 } else { 337 $configfile = $ENV{HOME}."/.owlconf"; 338 } 339 } 335 340 336 341 # populate global variable space for legacy owlconf files
Note: See TracChangeset
for help on using the changeset viewer.