[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] djm: support running djm from any directory

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Jun 8 11:39:17 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
c88c241e by Holger Levsen at 2023-06-08T12:39:04+02:00
djm: support running djm from any directory

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/djm


Changes:

=====================================
bin/djm
=====================================
@@ -190,9 +190,9 @@ verify_target_action_reason(){
 	case $TARGET in
 		.)	TARGET="."
 			;;
-		all)	TARGET="$(./nodes/list_nodes )"
+		all)	TARGET="$(`dirname $0`/../nodes/list_nodes )"
 			;;
-		*)	TARGET="$(./nodes/list_nodes | grep -E $TARGET || true)"
+		*)	TARGET="$(`dirname $0`/../nodes/list_nodes | grep -E $TARGET || true)"
 			;;
 	esac
 	if [ -z "$TARGET" ] ; then



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c88c241e99df7bf8da18acdeb8da853b8a520af4

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c88c241e99df7bf8da18acdeb8da853b8a520af4
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230608/89f29155/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list