Ignore:
Timestamp:
03/28/2006 08:25:02 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
769a219
Parents:
60b56fd
Message:

Removed a duplicate function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    r60b56fd r64cc345  
    268268wrt_run_as_su() {                  # header to log file, execute script, footer to log file
    269269#----------------------------------#
    270   local this_script=$1
    271   local file=$2
    272 (
    273 cat << EOF
    274         @echo -e "\n\`date\`\n\nKB: \`du -sk --exclude={0,1}??-* \$(MOUNT_PT)\`\n" >logs/$this_script && \\
    275         su - lfs -c "source /home/lfs/.bashrc && $JHALFSDIR/${PROGNAME}-commands/$file" >>logs/$this_script 2>&1 && \\
    276         echo -e "\n\`date\`\n\nKB: \`du -sk --exclude={0,1}??-* \$(MOUNT_PT)\`\n" >>logs/$this_script
    277 EOF
    278 ) >> $MKFILE.tmp
    279 }
    280 
    281 
    282 #==================================#
    283 wrt_run_as_lfs() {                 #
    284 #==================================#
    285270  local this_script=$1
    286271  local file=$2
Note: See TracChangeset for help on using the changeset viewer.