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:
parent
3c9b7294e2
commit
8d62dd6304
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user