diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -370,8 +370,9 @@ t-ref-dsc-dgit () { t-apply-diff () { local v1=$1 local v2=$2 - (cd $troot/pkg-srcs; debdiff ${p}_${v1}.dsc ${p}_${v2}.dsc) \ - | patch -p1 -u + (cd $troot/pkg-srcs; + debdiff ${p}_${v1}.dsc ${p}_${v2}.dsc || test $? = 1) \ + | patch -p1 -u } t-commit () { |