root/lang/gauche/oldtype/trunk/bin/update.sh @ 13237

Revision 13237, 419 bytes (checked in by kiyoka, 6 years ago)

Divided processes of convert_all.sh into update.sh convert.sh add.sh update.sh.

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3#load configuration
4. ${OT_HOME}/config.sh
5. ${OT_HOME}/bin/lib.sh
6
7_oldtype_to() {
8    t=$1
9    src=$2
10    dst=$3
11    log=$4
12    ann=$5
13    ${OT_HOME}/src/oldtype_to ${t} ${src} ${log} ${ann} > ../_out/${base}.sexp.tmp
14
15    if [ "$?" = "0" ] ; then
16        /bin/mv -f ../_out/${base}.sexp.tmp ../_out/${base}.sexp
17    else
18        exit $?
19    fi
20}
21
22pushd . >& /dev/null
23
24cd        ${OT_EDITHOME}
25
26  _svn t update
27
28popd
Note: See TracBrowser for help on using the browser.