We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8586824 + 9ccb1c4 commit d172081Copy full SHA for d172081
src/main/java/org/redline_rpm/Builder.java
@@ -451,7 +451,7 @@ public void setSourceRpm( final String rpm) {
451
* @param prefixes Path prefixes which may be relocated
452
*/
453
public void setPrefixes( final String... prefixes) {
454
- if ( prefixes != null) format.getHeader().createEntry( PREFIXES, prefixes);
+ if ( prefixes != null && 0 < prefixes.length) format.getHeader().createEntry( PREFIXES, prefixes);
455
}
456
457
/**
0 commit comments