Skip to content

Commit 4762f1f

Browse files
authored
Merge pull request #168 from brianhlin/v2
POSIX compat + bump version to 2.2.3
2 parents 688f2b1 + a201ed6 commit 4762f1f

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

config/htcondor-ce.spec

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define gitrev osg
33

44
Name: htcondor-ce
5-
Version: 2.2.2
5+
Version: 2.2.3
66
Release: 1%{?gitrev:.%{gitrev}git}%{?dist}
77
Summary: A framework to run HTCondor as a CE
88
BuildArch: noarch
@@ -497,6 +497,10 @@ fi
497497
%attr(1777,root,root) %dir %{_localstatedir}/lib/gratia/condorce_data
498498

499499
%changelog
500+
* Mon Aug 28 2017 Brian Lin <blin@cs.wisc.edu> - 2.2.3-1
501+
- Fix traceback if JOB_ROUTER_ENTRIES not present (SOFTWARE-2814)
502+
- Improve POSIX compatability
503+
500504
* Fri Jul 21 2017 Brian Lin <blin@cs.wisc.edu> - 2.2.2-1
501505
- Do not hold jobs with expired proxy (SOFTWARE-2803)
502506
- Only warn about configuration if osg-configure is present (SOFTWARE-2805)

src/condor_ce_client_env_bootstrap

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export _condor_CLASSAD_USER_LIBS=
66

77
# Instead of changing the default in 01-common-auth.conf, we set client auth methods
88
# with an env variable. This way, only condor_ce_* tools are affected.
9-
if [ "$_condor_SEC_CLIENT_AUTHENTICATION_METHODS" == "" ]; then
9+
if [ "$_condor_SEC_CLIENT_AUTHENTICATION_METHODS" = "" ]; then
1010
export _condor_SEC_CLIENT_AUTHENTICATION_METHODS=GSI,FS
1111
fi

src/condor_ce_startup

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
fail() {
44
RETVAL="$1"
55
MSG="$2"
6-
echo -e "\nERROR: $MSG"
6+
echo
7+
echo "ERROR: $MSG"
78
exit $RETVAL
89
}
910

1011
# Source condor-ce environment
1112
[ -f /usr/share/condor-ce/condor_ce_env_bootstrap ] && . /usr/share/condor-ce/condor_ce_env_bootstrap
1213

1314
# Skip sanity checks if running as a central collector
14-
if [[ "$1" != "collector" ]]; then
15+
if [ "$1" != "collector" ]; then
1516
# Check value of QUEUE_SUPER_USER_MAY_IMPERSONATE for HTCondor batch systems
1617
condor_ce_config_val -config 2>&1 | grep '02-ce-condor.conf' > /dev/null
1718
if [ $? -eq 0 ]; then
@@ -36,7 +37,7 @@ fi
3637

3738
# The hostname is controlled by setting the environment variable
3839
# $CONDORCE_HOSTNAME in /etc/sysconfig/condor-ce.
39-
if [ "X$CONDORCE_HOSTNAME" == "X" ]; then
40+
if [ "X$CONDORCE_HOSTNAME" = "X" ]; then
4041
exec condor_master "$@"
4142
fi
4243

tests/test_inside_docker.sh

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -xe
1+
#!/bin/bash -xe
22

33
OS_VERSION=$1
44

0 commit comments

Comments
 (0)