Changeset 2189 in ProjectBuilder
- Timestamp:
- Mar 3, 2017, 4:07:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r2188 r2189 331 331 332 332 This function install the dependencies required to build the package on a distro. 333 If $forcerepo is defined then do not assume r packageare alredy installed, but reinstall them333 If $forcerepo is defined then do not assume packages are alredy installed, but reinstall them 334 334 (useful if you add a repo which contains more up to date packages that you need) 335 335 Dependencies can be passed as the 4th parameter in which case they are not computed … … 426 426 pb_log(4,"found deps 1: $_\n"); 427 427 # Remove conditions in the middle and at the end for deb 428 s/\( \s*[><=]+.*\)[^,]*,/,/g;428 s/\([><=]+[^,]*,/,/g; 429 429 pb_log(4,"found deps 2: $_\n"); 430 s/\( \s*[><=]+.*$//g;430 s/\([><=]+[^,]*$//g; 431 431 pb_log(4,"found deps 3: $_\n"); 432 432 # Same for rpm
Note:
See TracChangeset
for help on using the changeset viewer.