[pbuilder] 01/01: buildpackage: fix syntax

Mattia Rizzolo mattia at debian.org
Sun Feb 5 15:58:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository pbuilder.

commit 138542569f46f633e746c9df92aef474b74cd399
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Feb 5 16:57:46 2017 +0100

    buildpackage: fix syntax
    
    Gbp-Dch: Ignore
---
 pbuilder-buildpackage | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 81f39e6..9f05ee4 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -129,7 +129,7 @@ copydsc "$PACKAGENAME" "${BUILDPLACE}$BUILDDIR"
 copyinputfile "${BUILDPLACE}$BUILDDIR"
 
 # don't allow empty values of BUILDSUBDIR
-if [ -z "${BUILDSUBDIR:-}" ]
+if [ -z "${BUILDSUBDIR:-}" ]; then
     BUILDSUBDIR="$(dsc_get_basename "$PACKAGENAME" "no")"
     BUILDSUBDIR="${BUILDSUBDIR//_/-/}"
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list