Added files for creating independent Tex2RTF distributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
27
utils/tex2rtf/distrib/zipsrc.sh
Normal file
27
utils/tex2rtf/distrib/zipsrc.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
# Zip up StoryLines source
|
||||
|
||||
expandlines()
|
||||
{
|
||||
toexpand=$1
|
||||
outputfile=$2
|
||||
|
||||
rm -f $outputfile
|
||||
touch $outputfile
|
||||
for line in `cat $toexpand` ; do
|
||||
if [ $line != "" ]; then
|
||||
ls $line >> $outputfile
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
CAFEDIR=$CAFE
|
||||
STDIR=$CAFE/storylines
|
||||
COMMONDIR=$CAFE/common
|
||||
|
||||
cd $CAFE
|
||||
expandlines $STDIR/distrib/src.rsp temp.txt
|
||||
zip -@ $CAFEDIR/deliver/storylines_src.zip < temp.txt
|
||||
expandlines $CAFEDIR/distrib/src.rsp temp.txt
|
||||
zip -u -@ $CAFEDIR/deliver/storylines_src.zip < temp.txt
|
||||
rm temp.txt
|
Reference in New Issue
Block a user