[X2Go-Commits] [x2goclient] 01/01: debian/rules: use if instead of test

git-admin at x2go.org git-admin at x2go.org
Tue Mar 4 09:43:09 CET 2014


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

x2go pushed a commit to branch master
in repository x2goclient.

commit d417697827d393b9d45a6e0917d025c3f093311a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Mar 4 09:40:24 2014 +0100

    debian/rules: use if instead of test
---
 debian/rules |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 684d475..dcfd8a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
 override_dh_auto_configure:
 	cp debian/changelog txt/changelog
-	test -f ChangeLog.gitlog && cp ChangeLog.gitlog txt/git-info
+	if [ -f ChangeLog.gitlog ]; then cp ChangeLog.gitlog txt/git-info; fi
 	dh_auto_configure
 
 override_dh_auto_clean:

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git



More information about the x2go-commits mailing list