[DRE-commits] [ruby-beautify] 04/05: debian/rules: Added a check testing if a directory exists before deleting it, so that we don't return status 1 (when run without tests) and break ReproducibleBuilds.

Tomasz Nitecki tnnn-guest at moszumanska.debian.org
Sat Aug 8 22:08:20 UTC 2015


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

tnnn-guest pushed a commit to branch master
in repository ruby-beautify.

commit 4a81a752c2d0d96b94f9a835633cb58600c9edd3
Author: Tomasz Nitecki <tnnn at tnnn.pl>
Date:   Sat Aug 8 23:57:38 2015 +0200

    debian/rules: Added a check testing if a directory exists before deleting it, so that we don't return status 1 (when run without tests) and break ReproducibleBuilds.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 83c3e52..76a314c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,4 +22,4 @@ override_dh_installchangelogs:
 override_dh_auto_install:
 	dh_auto_install
 	ln -sf ruby-beautify $(CURDIR)/debian/ruby-beautify/usr/bin/rbeautify
-	rmdir tmp
+	if [ -d tmp ]; then rmdir tmp; fi

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



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