Magellan Linux

Diff of /trunk/mage-buildserver/helper/buildserver-lint.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2829 by niro, Thu Aug 28 08:16:21 2014 UTC revision 2830 by niro, Fri Sep 19 10:27:49 2014 UTC
# Line 67  lint_checks() Line 67  lint_checks()
67   local dest="$1"   local dest="$1"
68    
69   # check deps   # check deps
70   echo   echo
71   echo "Autodetect runtime soname dependencies for '${dest}':"   echo "Autodetect runtime soname dependencies for '${dest}':"
72   ${MLIBDIR}/autodepend.sh "${dest}"   ${MLIBDIR}/autodepend.sh "${dest}"
73   echo   echo
# Line 93  fi Line 93  fi
93    
94  # create build info dir  # create build info dir
95  install -d ${BUILDSERVER_CACHE_DIR}/build  install -d ${BUILDSERVER_CACHE_DIR}/build
96    # set up LINT log
97    logdir="${BUILDSERVER_CACHE_DIR}/build/${PNAME}-${PVER}-${PBUILD}"
98    logfile="${logdir}/LINT_CHECKS"
99    
100    [ -d ${logdir} ] || install -d "${logdir}"
101    :> "${logfile}"
102    
103  # honor split packages  # honor split packages
104  if [[ -n ${SPLIT_PACKAGES} ]]  if [[ -n ${SPLIT_PACKAGES} ]]
# Line 126  echo "DEBUG: TARGETS='${TARGETS}'" Line 132  echo "DEBUG: TARGETS='${TARGETS}'"
132  for dir in ${TARGETS}  for dir in ${TARGETS}
133  do  do
134   #echo "DEBUG: running lint check for '${dir}'"   #echo "DEBUG: running lint check for '${dir}'"
135   lint_checks "${dir}"   lint_checks "${dir}" | tee -a "${logfile}"
136  done  done
137    
138  #echo "DEBUG lint: read"; read  #echo "DEBUG lint: read"; read

Legend:
Removed from v.2829  
changed lines
  Added in v.2830