aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-06-15 22:00:33 +0000
committerPascal Terjan <pterjan@mageia.org>2020-06-15 22:00:33 +0000
commit3bee0578a2969ddabe558a00a689a4468926e23f (patch)
tree58d2218461a2fd743015a50b97274b6c5959c04a
parent543ac2dbc41dd2743cafa249e9476ac8759b92d7 (diff)
downloadiurt-3bee0578a2969ddabe558a00a689a4468926e23f.tar
iurt-3bee0578a2969ddabe558a00a689a4468926e23f.tar.gz
iurt-3bee0578a2969ddabe558a00a689a4468926e23f.tar.bz2
iurt-3bee0578a2969ddabe558a00a689a4468926e23f.tar.xz
iurt-3bee0578a2969ddabe558a00a689a4468926e23f.zip
Add architecture in botcmd filename
-rw-r--r--NEWS2
-rwxr-xr-xlib/Iurt/Ulri.pm2
2 files changed, 3 insertions, 1 deletions
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.