summaryrefslogtreecommitdiff
path: root/postpost/copy_matlab
diff options
context:
space:
mode:
Diffstat (limited to 'postpost/copy_matlab')
-rwxr-xr-xpostpost/copy_matlab17
1 files changed, 17 insertions, 0 deletions
diff --git a/postpost/copy_matlab b/postpost/copy_matlab
new file mode 100755
index 0000000..200320a
--- /dev/null
+++ b/postpost/copy_matlab
@@ -0,0 +1,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
+