288 |
EOF |
EOF |
289 |
} |
} |
290 |
|
|
291 |
|
scandirs() |
292 |
|
{ |
293 |
|
if [ $# -eq 0 ]; then |
294 |
|
for arg in * |
295 |
|
do |
296 |
|
test -d $arg/input && echo $arg |
297 |
|
done |
298 |
|
else |
299 |
|
echo $* |
300 |
|
fi |
301 |
|
} |
302 |
|
|
303 |
############################################################################### |
############################################################################### |
304 |
|
|
305 |
# Main function |
# Main function |
327 |
esac |
esac |
328 |
done |
done |
329 |
|
|
330 |
if [ ${#expts} -eq 0 ]; then |
#if [ ${#expts} -eq 0 ]; then |
331 |
echo Scanning all directories |
# echo Scanning all directories |
332 |
for arg in * |
# for arg in * |
333 |
do |
# do |
334 |
test -d $arg && expts=`echo $expts $arg` |
# test -d $arg && expts=`echo $expts $arg` |
335 |
done |
# done |
336 |
fi |
#fi |
337 |
|
expts=`scandirs $expts` |
338 |
|
|
339 |
createcodelet |
createcodelet |
340 |
|
|