Changeset 314 for trunk/confman.in
- Timestamp:
- 05/02/2009 17:33:21 (3 years ago)
- File:
-
- 1 edited
-
trunk/confman.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/confman.in
r312 r314 115 115 conf_lock_wcopy 116 116 local msg=$(conf_tmp_file) 117 local status=$(conf_tmp_file) 117 118 local modules=$(conf_get_recipe | tr '\n' ',') 118 119 local ignoreline="--This line, and those below, will be ignored--" … … 123 124 echo "$ignoreline" >> $msg 124 125 conf_get_recipe | tr ' ' '\n' | xargs -I % svn status \ 125 ${WORK_PATH}/% >> $msg 126 ${EDITOR} $msg 126 ${WORK_PATH}/% >> $status 127 cat $status >> $msg 128 if [ $(wc -l $status) -gt 0 ] ; then 129 ${EDITOR} $msg 130 fi 131 rm -f $status 127 132 ${sed_cmd} -i '' -e '/'"$ignoreline"'/,$d' $msg 2>/dev/null 128 133 $SUDO ${SUDO:+-v} … … 162 167 conf_lock_system 163 168 local msg=$(conf_tmp_file) 169 local status=$(conf_tmp_file) 164 170 local modules=$(conf_get_recipe | tr '\n' ',') 165 171 local ignoreline="---Everything after this line will be ignored---" … … 175 181 files="$files $file" 176 182 done 177 svn status $files >> $msg 178 ${EDITOR} $msg 183 svn status $files >> $status 184 cat $status >> $msg 185 if [ $(wc -l $status) ] ; then 186 ${EDITOR} $msg 187 fi 188 rm $status 179 189 ${sed_cmd} -i '' -e '/'"$ignoreline"'/,$d' $msg 2>/dev/null 180 190 $SUDO ${SUDO:+-v}
Note: See TracChangeset
for help on using the changeset viewer.
