#!/bin/sh 

if [ -z "$ZK_ARCH" ] ; then
  dir=`dirname $0`
  ZK_ARCH=`$dir/zk_arch`
  if [ $? -ne 0 ] ; then
    echo ZK_ARCH could not be set
    exit 1
  fi
fi

if [ -z "$ZK_LIB_SUFF" ] ; then 
  find $* -name $ZK_ARCH -type d -print 
else
  find $* -name $ZK_ARCH$ZK_LIB_SUFF -type d -print 
fi


