Subversion Repositories DevTools

Rev

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

Rev 4836 Rev 4837
Line 23... Line 23...
23
#   The TOOLS/*.pl file conversion will ensure that pod2usage() operates
23
#   The TOOLS/*.pl file conversion will ensure that pod2usage() operates
24
#
24
#
25
for file in ./TOOLS/armerge ./BIN.*/links.sh $( find ./TOOLS -name *.pl ); do
25
for file in ./TOOLS/armerge ./BIN.*/links.sh $( find ./TOOLS -name *.pl ); do
26
    chmod +w $file
26
    chmod +w $file
27
    dos2unix -ascii $file $file 2>/dev/null
27
    dos2unix -ascii $file $file 2>/dev/null
28
    chmod -w $file
28
    chmod -w $file 2>/dev/null
29
done
29
done
30
 
30
 
31
#
31
#
32
#   Make executables executable
32
#   Make executables executable
33
#
33
#
34
chmod -fR a+x ./TOOLS
34
chmod -fR a+x ./TOOLS 2>/dev/null
35
chmod -fR a+x ./BIN.*
35
chmod -fR a+x ./BIN.* 2>/dev/null
36
 
36
 
37
#
37
#
38
#   Release links for all targets.
38
#   Release links for all targets.
39
#
39
#
40
for dir in ./BIN.*; do
40
for dir in ./BIN.*; do
41
    if [ -d $dir ] ; then
41
    if [ -d $dir ] ; then
42
        cd $dir
42
        cd $dir
43
	echo Processing links in $dir
43
        echo Processing links in $dir
44
        [ -f ./links.sh ] && sh ./links.sh
44
        [ -f ./links.sh ] && sh ./links.sh
45
        cd -
45
        cd -
46
    fi
46
    fi
47
done
47
done
48
 
48
 
49
echo "JATS setup complete"
49
echo "JATS setup complete"
-
 
50