#!/bin/sh
myfunc() {
echo "This is myfunc with arg $1"
}
FUNCNAME="myfunc"
"$FUNCNAME" fuflon
DEPS="asdf qwer zxcv tyii fgjg"
for DEP in $DEPS; do
myfunc "$DEP"
done