Changeset 140
- Timestamp:
- 12/04/2006 21:52:30 (5 years ago)
- File:
-
- 1 edited
-
trunk/confman/confmanlib.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/confman/confmanlib.sh
r123 r140 120 120 chmod o+rx ${WORK_PATH} 121 121 122 for directory in `find $moduledir -type d | grep -v "\.svn"`; do122 for directory in `find $moduledir -type d -mindepth 1| grep -v "\.svn"`; do 123 123 local livedir=`echo $directory | sed "s:$moduledir::"` 124 124 livedir="${LIVE_ROOT}${livedir}" … … 166 166 return 0 167 167 elif [ ! -f "$file" ] && [ ! -d "$file" ] ; then 168 conf_install $module $*168 conf_install $module "$@" 169 169 return 170 170 fi … … 190 190 chmod o-rx ${WORK_PATH} 191 191 192 if [ -d "$file" ] ; then 193 conf_install $module "$file"/* 194 fi 192 195 if [ ! -z $1 ] ; then 193 conf_install $module $*196 conf_install $module "$@" 194 197 fi 195 198 } … … 473 476 } 474 477 478 function conf_syncheck { 479 local cmd 480 local toReturn=true 481 for file in "$@" ; do 482 cmd=$(svn propget "confman:syncheck" "$file") 483 if [ -z "$cmd" ] ; then 484 continue 485 fi 486 if ! $cmd "$file" ; then 487 echo "Syntax verification failed for $file" >&2 488 toReturn=false 489 fi 490 done 491 $toReturn 492 } 493 475 494 function conf_markclean { 476 495 echo clean > $REPO_SYNC_STATE
Note: See TracChangeset
for help on using the changeset viewer.
