- Timestamp:
- 05/04/2006 06:26:42 PM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- e2fa2bd
- Parents:
- 7a519f3
- Location:
- common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r7a519f3 r4edf3b7 199 199 200 200 201 202 203 201 #----------------------------------# 204 202 wrt_target() { # Create target and initialize log file … … 206 204 local i=$1 207 205 local PREV=$2 206 case $i in 207 iteration* ) local LOGFILE=$this_script.log ;; 208 * ) local LOGFILE=$this_script ;; 209 esac 208 210 ( 209 211 cat << EOF … … 211 213 $i: $PREV 212 214 @\$(call echo_message, Building) 213 @echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=jhalfs \$(MOUNT_PT)\`\n" >logs/$ this_script215 @echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=jhalfs \$(MOUNT_PT)\`\n" >logs/$LOGFILE 214 216 EOF 215 217 ) >> $MKFILE.tmp -
common/func_compare.sh
r7a519f3 r4edf3b7 109 109 cat << EOF 110 110 @pushd logs 1> /dev/null && \\ 111 rm $ITERATION && \\112 111 mkdir $ITERATION && \\ 113 112 mv ${LOGS} $ITERATION && \\
Note:
See TracChangeset
for help on using the changeset viewer.