[DRE-commits] [pkg-ruby-extras] 01/02: build-and-upload: accept $SOURCE and $NEW from environment

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Dec 18 12:17:19 UTC 2017


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

terceiro pushed a commit to branch master
in repository pkg-ruby-extras.

commit bca9e9d38f86580c4b5556b4bb0239be2de721ba
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Dec 18 10:14:57 2017 -0200

    build-and-upload: accept $SOURCE and $NEW from environment
---
 build-and-upload | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-and-upload b/build-and-upload
index 265ceb2..57b513c 100755
--- a/build-and-upload
+++ b/build-and-upload
@@ -319,8 +319,8 @@ ask_to_proceed "Proceed with the upload? [y/N] "
 git checkout .
 git clean -dxf
 
-SOURCE=yes
-NEW=no
+SOURCE=${SOURCE:-yes}
+NEW=${NEW:-no}
 
 case "$distribution" in
   unstable|experimental)

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



More information about the Pkg-ruby-extras-commits mailing list