[X2Go-Commits] [x2goserver] 17/17: x2goserver/bin/x2gopath.in: use [] instead of test, for consistency.
git-admin at x2go.org
git-admin at x2go.org
Sun Jun 23 04:43:06 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit c2efe7634f46c1b9ae28e93026ae105220a63c6b
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun Jun 23 04:42:37 2019 +0200
x2goserver/bin/x2gopath.in: use [] instead of test, for consistency.
---
debian/changelog | 1 +
x2goserver/bin/x2gopath.in | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index a268a0e..8d8eb4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -109,6 +109,7 @@ x2goserver (4.1.0.4-0x2go1.1) UNRELEASED; urgency=medium
SHAREDIR.
- x2goserver/bin/x2gopath.in: add and use support for NXLIBDIR; drop the
lib-subdir detection.
+ - x2goserver/bin/x2gopath.in: use [] instead of test, for consistency.
* debian/control:
+ Build-depend upon lsb-release for distro version detection.
* debian/x2goserver.manpages:
diff --git a/x2goserver/bin/x2gopath.in b/x2goserver/bin/x2gopath.in
index 1c5b51a..7db9378 100755
--- a/x2goserver/bin/x2gopath.in
+++ b/x2goserver/bin/x2gopath.in
@@ -28,7 +28,7 @@ typeset installed_nxlibdir='@@NXLIBDIR@@'
typeset installed_sharedir='@@SHAREDIR@@'
typeset base="${BASH_SOURCE[0]%/*}"
-if test "${base}" = "${BASH_SOURCE[0]}"; then
+if [ "${base}" = "${BASH_SOURCE[0]}" ]; then
base='.'
fi
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list