Rev 8472 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8472 | Rev 10231 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | # We use shell script to output oef source file, because |
2 | # We use shell script to output oef source file, because |
3 | # otherwise the $ sign will be substituted. |
3 | # otherwise the $ sign will be substituted. |
4 | - | ||
5 | 4 | ||
6 | logd=$w_wims_home/log/classes/$w_wims_class/src |
5 | logd=$w_wims_home/log/classes/$w_wims_class/src |
7 | oefname=$logd/$wims_exec_parm.oef |
6 | oefname=$logd/$wims_exec_parm.oef |
8 | 7 | ||
9 | if [ ! -f "$oefname" ]; then exit; fi |
8 | if [ ! -f "$oefname" ]; then exit; fi |
10 | 9 | ||
11 |
|
10 | LC_ALL=C sed 's/\&/\&/g' <$oefname | LC_ALL=C sed 's/</\</g;s/>/\>/g' |
- | 11 | ||
12 | rm -f $oefname >/dev/null |
12 | rm -f $oefname >/dev/null |
13 | rm -fR $oefname $logd/images/$wims_exec_parm >/dev/null |
13 | rm -fR $oefname $logd/images/$wims_exec_parm >/dev/null |
14 | 14 | ||
15 | cd modules/classes/$w_lang |
15 | cd modules/classes/$w_lang |
16 | src2def oef >/dev/null |
16 | src2def oef >/dev/null |
17 | - |