Changeset 1919


Ignore:
Timestamp:
04/20/09 17:13:50 (5 years ago)
Author:
jdsiiro
Message:
  • Adding svn to the list of applications we report the version of.
  • quoting variables to prevent error if they are undefined.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • hudson/acro/common_setup.sh

    r1913 r1919  
    4242    java -version 2>&1 | sed -r 's/^/    /' 
    4343    echo 
    44     for app in gcc autoconf automake libtool m4; do 
     44    for app in gcc autoconf automake libtool m4 svn; do 
    4545        echo "  $app:" 
    4646        $app --version 2>&1 | grep -v '^$' | sed -r 's/^/    /' 
     
    6161#   1.5 (it skips them!) 
    6262SVN=`svn --version | grep svn, | cut -d' ' -f3 | cut -d '.' -f1-2` 
    63 if [ ${SVN_COPY} -eq "" -a ${SVN%.*} -gt 1 -o \( ${SVN%.*} -eq 1 -a ${SVN#*.} -ge 5 \) ]; then 
     63if [ "${SVN_COPY}" -eq "" -a "${SVN%.*}" -gt 1 -o \( "${SVN%.*}" -eq 1 -a "${SVN#*.}" -ge 5 \) ]; then 
    6464    CP_CMD="svn export" 
    6565else 
Note: See TracChangeset for help on using the changeset viewer.