Unverified Commit 95489f47 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

of SSH_ORIGINAL_COMMAND, only the first word is the job name

parent 923d22a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
	if [ -n "$JOB_NAME" ] ; then
		WHOAREWE=$JOB_NAME
	else
		WHOAREWE=${SSH_ORIGINAL_COMMAND}
		WHOAREWE=${SSH_ORIGINAL_COMMAND/%\ */}
	fi
	# abort certain jobs if we know they will fail due to certain bugs…
	case $WHOAREWE in