Subversion Repositories DevTools

Rev

Rev 233 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 233 Rev 241
Line 7... Line 7...
7
#
7
#
8
#   Note: This MUST be a UNIX format file, not a DOS formatted file
8
#   Note: This MUST be a UNIX format file, not a DOS formatted file
9
#
9
#
10
########################################################################
10
########################################################################
11
#
11
#
12
#   Determine machine type
-
 
13
#
-
 
14
if [ -z "$GBE_MACHTYPE" ] ; then
-
 
15
	echo "ERROR: GBE_MACHTYPE is not defined"
-
 
16
	exit 1
-
 
17
fi
-
 
18
 
-
 
19
#
12
#
20
#   Sanity test
13
#   Sanity test
21
#
14
#
22
if [ ! -d ./TOOLS ] ; then
15
if [ ! -d ./TOOLS ] ; then
23
    echo "ERROR: TOOLS directory not found"
16
    echo "ERROR: TOOLS directory not found"
24
    exit 1
17
    exit 1
25
fi
18
fi
26
 
19
 
27
if [ ! -d ./BIN.${GBE_MACHTYPE} ] ; then
-
 
28
    echo "ERROR: ./BIN.${GBE_MACHTYPE} directory not found"
-
 
29
    exit 1
-
 
30
fi
-
 
31
 
-
 
32
if [ ! -f ./BIN.${GBE_MACHTYPE}/links.sh ] ; then
-
 
33
    echo "ERROR: links.sh not found"
-
 
34
    exit 1
-
 
35
fi    
-
 
36
 
-
 
37
#
20
#
38
#   Ensure some essential scripts are not in DOS format
21
#   Ensure some essential scripts are not in DOS format
39
#   The TOOLS/*.pl file conversion will ensure that pod2usage() operates
22
#   The TOOLS/*.pl file conversion will ensure that pod2usage() operates
40
#
23
#
41
for file in ./TOOLS/armerge ./BIN.*/links.sh $( find ./TOOLS -name *.pl ); do
24
for file in ./TOOLS/armerge ./BIN.*/links.sh $( find ./TOOLS -name *.pl ); do