[X2Go-Commits] [buildscripts] 03/03: bin/signtarballs: we want the parameter/to_dir to be non-NULL.

git-admin at x2go.org git-admin at x2go.org
Fri Apr 7 12:40:33 CEST 2017


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

x2go pushed a commit to branch master
in repository buildscripts.

commit 044eb49fcc1096ca110fade4e08f72bc1de83690
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Apr 7 12:40:15 2017 +0200

    bin/signtarballs: we want the parameter/to_dir to be non-NULL.
---
 bin/signtarballs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/signtarballs b/bin/signtarballs
index 5c305bc..981ee52 100755
--- a/bin/signtarballs
+++ b/bin/signtarballs
@@ -2,7 +2,7 @@
 
 typeset to_dir="${1}"
 
-if [ -z "${to_dir}" ] && [ -d "${to_dir}" ]; then
+if [ -n "${to_dir}" ] && [ -d "${to_dir}" ]; then
 	cd "${to_dir}"
 elif [ -d "_releases_" ]; then
 	cd "_releases"

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


More information about the x2go-commits mailing list