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/branches/2.6@9554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao
2011-05-10 21:16:09 +00:00
parent 29f32d3b04
commit 27242db435
@@ -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;