Subversion Repositories DevTools

Rev

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

Rev 5872 Rev 6798
Line 50... Line 50...
50
#   Release links for all targets.
50
#   Release links for all targets.
51
#
51
#
52
for dir in ./BIN.*; do
52
for dir in ./BIN.*; do
53
    if [ -d $dir ] ; then
53
    if [ -d $dir ] ; then
54
        cd $dir
54
        cd $dir
55
        echo Processing links in $dir
55
        echo "Processing links in $dir"
56
        [ -f ./links.sh ] && sh ./links.sh
56
        [ -f ./links.sh ] && sh ./links.sh
57
        cd - > /dev/null
57
        cd - > /dev/null
58
    fi
58
    fi
59
done
59
done
60
 
60
 
Line 65... Line 65...
65
#   Create a symlink in the parent diretory to this version
65
#   Create a symlink in the parent diretory to this version
66
#
66
#
67
if [ $# -ge 3 ]; then
67
if [ $# -ge 3 ]; then
68
    thisVer=${PWD##*/}
68
    thisVer=${PWD##*/}
69
    if [ "$3" = "$thisVer" ] ; then
69
    if [ "$3" = "$thisVer" ] ; then
70
        echo Creating jats2_new symlink to $thisVer
70
        echo "Creating jats2_new symlink to $thisVer"
71
        pushd .. >/dev/null
71
        pushd .. >/dev/null
72
        rm -f jats2_new
72
        rm -f jats2_new
73
        ln -s $thisVer jats2_new
73
        ln -s $thisVer jats2_new
74
        popd >/dev/null
74
        popd >/dev/null
75
    fi
75
    fi