Fix multiple *.dsc in deb-src produces incorrect version match SA-660
[git-tools-moved-to-github.git] / id-deb-build / id-pbuild.sh
index 5feb881..75916cd 100755 (executable)
@@ -121,6 +121,7 @@ if $debian; then
                    echo "deb-src could not be removed. Remove deb-src manually"
                    exit 1
                fi
+               rm -f deb-src/*.dsc
            fi
            $MKDEBSRC
        fi