]> source.dussan.org Git - rspamd.git/commitdiff
[Test] CI: fix rspamd executable path 3932/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 11 Oct 2021 14:35:37 +0000 (16:35 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 11 Oct 2021 14:35:37 +0000 (16:35 +0200)
.drone.yml

index fb211609fd2fe2a186d117e784f07eff9a9647f9..3f7c5b5ff9ce2847dd8f82f4e0385abdbd53e22f 100644 (file)
@@ -194,7 +194,7 @@ steps:
       - >
         for core in $core_files;
         do
-        exe=$(gdb --batch -ex 'info proc mappings' -c $core | awk 'h {print $5; exit}; /objfile/ {h=1}');
+        exe=$(gdb --batch -ex 'info proc mappings' -c $core | tail -1 | awk '{print $5}');
         gdb --batch -ex 'bt' -c $core $exe; echo '---';
         done
       - exit $EXIT_CODE