defect 3359 buildkit addpkg prints wrong filename in error msg

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2013-02-04 21:42:24 +00:00
parent 852b07a725
commit b1173a0b28

View File

@ -2473,7 +2473,7 @@ sub kit_addpkgs
&& ($non_native_kitreponame ne '')) {
my $fromfile = $rpmdir."/".$non_native_filename;
if ( system("ls $fromfile > /dev/null") ){
print "The product package file $ext_filename could not be read from the package directory $rpmdir. \n";
print "The product package file $non_native_filename could not be read from the package directory $rpmdir. \n";
system ("rm -Rf /tmp/buildkit_workdir");
return 1;
}