IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13259


Ignore:
Timestamp:
May 4, 2007, 2:39:59 PM (19 years ago)
Author:
jhoblitt
Message:

don't depend ong ENV{HOME} being set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/lib/Nebulous/Client/Log.pm

    r4927 r13259  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Log.pm,v 1.4 2005-08-31 03:25:32 jhoblitt Exp $
     3# $Id: Log.pm,v 1.5 2007-05-05 00:39:59 jhoblitt Exp $
    44
    55package Nebulous::Client::Log;
     
    1111
    1212use Log::Log4perl;
     13use File::Spec;
    1314
    1415sub init {
    15     my $log_path = $ENV{HOME};
     16    my $log_path = $ENV{HOME} or File::Spec->tmpdir();
    1617
    1718    my $conf = <<END;
Note: See TracChangeset for help on using the changeset viewer.