aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
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 /lib/Iurt
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
Diffstat (limited to 'lib/Iurt')
-rwxr-xr-xlib/Iurt/Ulri.pm2
1 files changed, 1 insertions, 1 deletions
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.