summaryrefslogtreecommitdiff
path: root/postpost/copy_matlab
blob: 200320a596642114aeb17d775396589da0518d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

for t in $1*
do
  if [ -e $t/Post ]
  then
    for u in ./*.m
    do
      if [ -e $u ]
      then
        echo $t/Post/`basename $u`
        cp `basename $u` $t/Post/
      fi
    done
  fi
done