make sure to use the full path for searching the pkg names in genimage

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2011-05-10 21:14:25 +00:00
parent 3c9b7294e2
commit 8d62dd6304

View File

@ -8,6 +8,7 @@ use warnings "all";
use File::Basename;
use File::Path;
use Cwd qw(realpath);
sub get_profile_def_filename {
my $osver = shift;
@ -15,6 +16,7 @@ sub get_profile_def_filename {
my $arch = shift;
my $base=shift;
$base=realpath($base); #get the full path
my $ext=shift;
my $dotpos;