1 # Long term variables, which may be set in the cvsdeb config file or the
2 # environment:
3 # rootdir workdir (if all original sources are kept in one dir)
4
5 TEMPDIR=/tmp/$$
6 mkdir $TEMPDIR || exit 1
7 TEMPFILE=$TEMPDIR/cl-tmp
8 trap "rm -f $TEMPFILE; rmdir $TEMPDIR" 0 1 2 3 7 10 13 15
9
10 TAGOPT=
11
12 # Command line; will bomb out if unrecognised options
13 TEMP=$(getopt -a -s bash \
14 -o hC:EH:G:M:P:R:T:U:V:W:Ff:dcnr:x:Bp:Dk:a:Sv:m:e:i:I:t: \
15 --long help,version,ctp,tC,sgpg,spgp,us,uc,op \
16 --long si,sa,sd,ap,sp,su,sk,sr,sA,sP,sU,sK,sR,ss,sn \
17 -n "$PROGNAME" -- "$@")
18 eval set -- $TEMP
|