Code change for bug ID: 3026983: mknimimage fails with spot based on lppsource export

Remove tailing slash if provided for mknimimage "-l" flag.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2010-07-22 04:51:44 +00:00
parent 2ccacb4095
commit 3372af858c

View File

@ -3079,6 +3079,11 @@ sub mk_lpp_source
}
}
if ($::opt_l =~ /\/$/)
{
$::opt_l =~ s/\/$//; #remove tailing slash if provided
}
my $loc;
if ($::opt_l)
{