1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#! /bin/sh
set -e
#
# function definitions
#
set_debug ()
{
debug=$1
if [ $debug -eq 1 ]; then
set -x
make_debug='--debug=a'
else
set +x
make_debug=''
fi
}
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#! /bin/sh
set -e
#
# function definitions
#
set_debug ()
{
debug=$1
if ( $debug ); then
set -x
make_debug='--debug=a'
else
set +x
make_debug=''
fi
}
|
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
|
### main program
set_debug 0
check_for_valid_input "$*"
OPTS="$1" SYS="$2" REP="$3" LANG="$4" make $make_debug -f ${MTT_REP}/sfun_rep/Makefile ${2}_${3}.${4}
exit 0
|
|
|
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
|
### main program
set_debug false
check_for_valid_input "$*"
OPTS="$1" SYS="$2" REP="$3" LANG="$4" make $make_debug -f ${MTT_REP}/sfun_rep/Makefile ${2}_${3}.${4}
exit 0
|