[DRE-commits] [ruby-ridley] 01/01: Check if directory spec/tmp exists before cleaning inside it

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Tue Mar 22 13:44:58 UTC 2016


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

tsfgnu-guest pushed a commit to branch master
in repository ruby-ridley.

commit 9942e0b96058d22dee32df7401abebb3fb45ee33
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Tue Mar 22 16:44:51 2016 +0300

    Check if directory spec/tmp exists before cleaning inside it
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 4a348dd..5264404 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,4 +16,4 @@
 
 override_dh_auto_clean:
 	dh_auto_clean
-	-cd spec/tmp && rm -f .chef/knife.rb config.rb
+	- if [ -d spec/tmp ]; then cd spec/tmp && rm -f .chef/knife.rb config.rb; fi

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



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