#!/bin/bash

reports_dir=$HOME/ernad/var/$IMPNA/reports
echo $reports_dir
for fufi in "$reports_dir"/*; do
  if [ -d "$fufi" ]; then
      bana="${fufi##*/}"
      if ! [[ $bana == $IMPNA* ]]; then
          continue
      fi
      echo "weris $bana"
      $HOME/ernad/bin/weris -r $bana
  fi
done
