From f2ba2073df0618c2be6c128fc260b1bad30f0fad Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Tue, 31 Mar 2015 11:55:51 +0200 Subject: [PATCH] bug #3690: exclude im probes generated by packaging Do not try yo execute .rpmnew, .rpmsave and .dpkg-* files in the im remotes directory (cherry picked from commit e04b2dc2875b6c9c993230265b0be4daa1921f99) --- src/im_mad/remotes/run_probes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/im_mad/remotes/run_probes b/src/im_mad/remotes/run_probes index db42a5736a..e1d3510c7d 100755 --- a/src/im_mad/remotes/run_probes +++ b/src/im_mad/remotes/run_probes @@ -31,7 +31,7 @@ cd $SCRIPTS_DIR function run_dir { ( cd $1 - for i in `ls *`;do + for i in `ls * | grep -E -v '(\.rpmnew$|\.rpmsave$|\.dpkg-\w+$)'`;do if [ -x "$i" ]; then ./$i $ARGUMENTS EXIT_CODE=$?