[d22f42]: msw / send-msw.sh Maximize Restore History

Download this file

send-msw.sh    52 lines (41 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
PDDIR=`pwd`/..
MSWDIR=`pwd`
cd $PDDIR
find . -name ".[a-zA-Z]*" -o -name core -ok rm {} \;
rm -rf /tmp/pd /tmp/pd.zip
cd /tmp
tar xzf $MSWDIR/pdprototype.tgz
# hack to stick in new msgcat -- DELETE THIS when updating tcl/tk
cd /tmp/pd/lib
unzip $MSWDIR/msgcat.zip
cd $PDDIR
cp src/*.{c,h} src/notes.txt /tmp/pd/src
cp src/makefile.nt /tmp/pd/src/makefile
textconvert u w < $MSWDIR/build-nt.bat > /tmp/pd/src/build.bat
#FIXME: take this out of prototype
cp tcl/* /tmp/pd/tcl
cp -a portaudio /tmp/pd/portaudio
cp -a portmidi /tmp/pd/portmidi
cp -a doc/ INSTALL.txt LICENSE.txt /tmp/pd/
cp -a extra/ /tmp/pd/extra
cd /tmp/pd
find . -name "*.pd_linux" -exec rm {} \;
for i in `find . -name "*.c" -o -name "*.h" -o -name "*.cpp" \
-o -name "make*" -o -name "*.txt" -o -name "*.pd" -o -name "*.htm" \
-o -name "*.html" -o -name "*.tcl" \
| grep -v asio | grep -v portmidi | grep -v portaudio \
| grep -v include/X11` ; do
textconvert u w < $i > /tmp/xxx
mv /tmp/xxx $i
done
for i in `find lib/asio -name "*.c" -o -name "*.h" -o -name "*.cpp" \
-o -name "make*" -o -name "*.txt" -o -name "*.pd" -o -name "*.htm" \
-o -name "*.html"` ; do
echo FOO----- $i
textconvert w u < $i > /tmp/xxx
textconvert u w < /tmp/xxx > $i
done
cd ..
rm -f pd.zip
zip -q -r pd.zip pd
ls -l /tmp/pd.zip