changeset 315 | 6325833fc679 |
parent 1 | be27ed110b50 |
child 598 | 0a541d1f13c3 |
--- a/imgtools/imaker/src/imaker.pm Mon Mar 29 19:47:59 2010 +0100 +++ b/imgtools/imaker/src/imaker.pm Wed Apr 14 18:01:20 2010 +0100 @@ -351,7 +351,7 @@ { (my $dir = shift()) =~ s/^>>?(?!>)//; my $absdir = ""; - eval { local $SIG{__DIE__}; $absdir = Cwd::abs_path($dir) }; + if (-e $dir) {$absdir = Cwd::abs_path($dir) }; return(PathConv($absdir || File::Spec->rel2abs($dir, $dir !~ /^$gWorkdrive/i && $dir =~ /^([a-z]:)/i ? "$1/" : ""), shift(), shift())); }