fix absolute filename in Packages that make otherpkgs intall deb package fail

This commit is contained in:
baiyuan 2014-09-17 04:03:46 -04:00
parent a6b4056b2e
commit 8557d86359

View File

@ -776,7 +776,7 @@ sub kit_buildrepo1
return 1;
}
}
if ( system("dpkg-scanpackages $repodir > $repodir/Packages") ) {
if ( system("cd $repo;dpkg-scanpackages . > Packages") ) {
print "Error building the repository meta-data with the dpkg-scanpackages command \n";
return 1;
}