From 3bee0578a2969ddabe558a00a689a4468926e23f Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 15 Jun 2020 22:00:33 +0000 Subject: Add architecture in botcmd filename --- NEWS | 2 ++ lib/Iurt/Ulri.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 8d84fa5..7d12ebc 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- ulri: add architecture in botcmd filename + 0.7.13 - iurt: try again updating packages later diff --git a/lib/Iurt/Ulri.pm b/lib/Iurt/Ulri.pm index 4cac3bb..6d4e38f 100755 --- a/lib/Iurt/Ulri.pm +++ b/lib/Iurt/Ulri.pm @@ -86,7 +86,7 @@ sub build_package { } plog('DEBUG', "Build $pkgs"); - ssh($remote, "'echo PID=\$\$; exec $cmd $pkgs &>$prefix_dir/log/botcmd.\$(date +%s).\$(hostname -s).log' > $temp &"); + ssh($remote, "'echo PID=\$\$; exec $cmd $pkgs &>$prefix_dir/log/botcmd.\$(date +%s).$arch.\$(hostname -s).log' > $temp &"); # wait 10 seconds or until we have the log file # plus 20 seconds if it timeouts. -- cgit v1.2.1