[projects/pld-builder.new] request_handler_server: find the tmux socket from any directory

arekm arekm at pld-linux.org
Mon Oct 26 17:17:56 CET 2026


commit f64db3eb5f503d24fab68aa50db70b91bc6e8929
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Oct 24 18:26:28 2026 +0200

    request_handler_server: find the tmux socket from any directory
    
    Started by a relative path from outside PLD_Builder, the script changed
    into PLD_Builder and then looked for the socket relative to it again,
    so the servers did not start.

 PLD_Builder/request_handler_server | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/PLD_Builder/request_handler_server b/PLD_Builder/request_handler_server
index ed50abb..5505f6c 100755
--- a/PLD_Builder/request_handler_server
+++ b/PLD_Builder/request_handler_server
@@ -3,7 +3,8 @@ self=$0
 if [ -L "$self" ]; then
 	self=$(readlink -f "$0")
 fi
-sock=$(dirname "$self")/request_handler_server.sock
+# absolute: the daemon branch changes directory before tmux uses it
+sock=$(cd "$(dirname "$self")" && pwd)/request_handler_server.sock
 daemon=0
 attach=0
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/ce9feb3c796ed049b6dd260a50d94d80feb1656d



More information about the pld-cvs-commit mailing list