1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

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)
This commit is contained in:
Javi Fontan 2015-03-31 11:55:51 +02:00
parent 36aafcc288
commit f2ba2073df

View File

@ -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=$?