From 0a34605b7b14b8b0484906f055e271625884ca64 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 18 Jan 2017 07:51:39 +0100 Subject: git-pbuilder: Don't remove changes file Closes: #85047 --- bin/git-pbuilder | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bin/git-pbuilder b/bin/git-pbuilder index aa15cf5e..e67698de 100644 --- a/bin/git-pbuilder +++ b/bin/git-pbuilder @@ -320,11 +320,7 @@ fi # Add all of the additional arguments we got on the command line, but quote # them from the shell since they'll undergo another round of shell expansion # when the pbuilder runs debbuild. -source_only=false for arg in "$@" ; do - if [ x'-S' = x"$arg" ] ; then - source_only=true - fi DEBBUILDOPTS+=" $(shell_quote "$arg")" done @@ -337,11 +333,7 @@ else pdebuild --buildresult "$OUTPUT_DIR" --pbuilder "$BUILDER" \ --debbuildopts "$DEBBUILDOPTS" "${PDEBUILDOPTS[@]}" -- "${OPTIONS[@]}" fi -status="$?" -if [ -n "`ls ../*_source.changes`" ] && [ true != "$source_only" ] ; then - rm ../*_source.changes -fi -exit "$status" +exit "$?" # Documentation. Use a hack to hide this from the shell. Because of the # above exit line, this should never be executed. -- cgit v1.2.3