Mercurial > eagle-eye
changeset 50:ec5bc0f68e68
removed the unused file.
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Mon, 20 Oct 2008 19:06:34 +0800 |
parents | 7f935bdc01b6 (diff) f2065bdcaeb3 (current diff) |
children | 336164c9a983 |
files | nopaste |
diffstat | 4 files changed, 9 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sat Oct 18 22:21:42 2008 +0800 +++ b/.hgignore Mon Oct 20 19:06:34 2008 +0800 @@ -1,10 +1,9 @@ syntax: glob -cookies.txt +.eagleeye.pm +.hgignore ikariam.sqlite perl samples -sheep.sh -sheep.txt *.html *.sh *.txt
--- a/Ikariam.pm Sat Oct 18 22:21:42 2008 +0800 +++ b/Ikariam.pm Mon Oct 20 19:06:34 2008 +0800 @@ -1,7 +1,8 @@ #!/usr/bin/env perl BEGIN { - my $HOME = (getpwuid($<))[7] || $ENV{HOME} || $ENV{LOGDIR} || "."; - require "$HOME/.eagleeye.pm"; + foreach (((getpwuid($<))[7], $ENV{HOME}, $ENV{LOGDIR}, ".")) { + require "$_/.eagleeye.pm" if (-f "$_/.eagleeye.pm"); + } } use Class::DBI::AutoLoader (