[devscripts] 01/01: debclean: fix the test for debian/changelog

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Dec 1 13:00:59 UTC 2016


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

terceiro pushed a commit to branch master
in repository devscripts.

commit aebc45d444c4e3611b429a981c44459c4ca59a96
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Dec 1 11:00:37 2016 -0200

    debclean: fix the test for debian/changelog
---
 scripts/debclean.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/debclean.sh b/scripts/debclean.sh
index 5338442..81f8913 100755
--- a/scripts/debclean.sh
+++ b/scripts/debclean.sh
@@ -161,7 +161,7 @@ fi
 
 OPWD="`pwd`"
 
-if [ -d debian/changelog ]; then
+if [ -f debian/changelog ]; then
     directories=./debian
 else
     directories=$(find . -type d -name "debian")

-- 
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