Only output dist if set.
authorGuido Günther <agx@sigxcpu.org>
Sat, 14 Aug 2010 08:31:18 +0000 (10:31 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sat, 14 Aug 2010 08:32:24 +0000 (10:32 +0200)
git-pbuilder

index a6b09c1..74bab33 100755 (executable)
@@ -36,7 +36,7 @@ if [ -z "$DIST" ] ; then
     *git-pbuilder*) DIST= ;;
     esac
 fi
-echo "dist is $DIST"
+[ -n "$DIST" ] && echo "dist is $DIST"
 
 # If DIST is set, use base-$DIST.cow.  If DIST is not set, the sid chroot may
 # be either base.cow or base-sid.cow.  Try both.