[devscripts] 03/05: deb-reversion: Mention when a changelog file is expected and missing.

Cyril Brulebois kibi at moszumanska.debian.org
Wed Feb 19 10:05:22 UTC 2014


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

kibi pushed a commit to branch master
in repository devscripts.

commit 54840b1e36887d894a41f7e8c9ee6a0f7bcefd40
Author: Cyril Brulebois <kibi at debian.org>
Date:   Tue Feb 18 20:20:27 2014 +0300

    deb-reversion: Mention when a changelog file is expected and missing.
    
    A very common case is udeb packages.
---
 scripts/deb-reversion.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/deb-reversion.sh b/scripts/deb-reversion.sh
index 2a17e56..2ef7edd 100755
--- a/scripts/deb-reversion.sh
+++ b/scripts/deb-reversion.sh
@@ -173,7 +173,7 @@ change_version()
     [ -f usr/share/doc/${PACKAGE}/$i ] \
       && LOGFILE=usr/share/doc/${PACKAGE}/$i
   done
-  [ -z "$LOGFILE" ] && return 1
+  [ -z "$LOGFILE" ] && { echo "changelog file not found"; return 1; }
   mkdir -p debian
   zcat $LOGFILE > debian/changelog
   shift

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



More information about the devscripts-devel mailing list