Changeset ac1d897 for common/common-functions
- Timestamp:
- 07/03/2006 05:42:30 PM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- e5f5970
- Parents:
- bb19ced
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
rbb19ced rac1d897 375 375 cat << EOF 376 376 @( time { export LFS=\$(MOUNT_PT) && ${PROGNAME}-commands/$file >>logs/$this_script 2>&1 ; } ) 2>>logs/$this_script && \\ 377 echo -e "\nKB: \`du -skx --exclude=${SCRIPT_ROOT} \$(MOUNT_PT)\`\n" >>logs/$this_script 378 EOF 379 ) >> $MKFILE.tmp 380 } 381 382 383 #----------------------------------# 384 wrt_run_as_clfs_root() { # Some scripts must be run as root.. 385 #----------------------------------# 386 local this_script=$1 387 local file=$2 388 ( 389 cat << EOF 390 @( time { export CLFS=\$(MOUNT_PT) && ${PROGNAME}-commands/$file >>logs/$this_script 2>&1 ; } ) 2>>logs/$this_script && \\ 377 391 echo -e "\nKB: \`du -skx --exclude=${SCRIPT_ROOT} \$(MOUNT_PT)\`\n" >>logs/$this_script 378 392 EOF
Note:
See TracChangeset
for help on using the changeset viewer.