Changeset 26627


Ignore:
Timestamp:
2011-04-12T23:11:24+02:00 (7 years ago)
Author:
jow
Message:

[include] silence error when package has no patches (patchwork 321)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/quilt.mk

    r23315 r26627  
    4040 
    4141define PatchDir/Default 
    42         @if [ -d "$(2)" -a "$$$$(ls $(2) | wc -l)" -gt 0 ]; then \ 
     42        @if [ -d "$(2)" ] && [ "$$$$(ls $(2) | wc -l)" -gt 0 ]; then \ 
    4343                export PATCH="$(PATCH)"; \ 
    4444                if [ -s "$(2)/series" ]; then \ 
Note: See TracChangeset for help on using the changeset viewer.