Ignore:
Timestamp:
11/25/07 07:44:36 (7 years ago)
Author:
alanbach-guest
Message:
  • Fixed a bug to avoid double-replacing values in the changes file
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/autobuild.bash

    r2378 r2501  
    55# 
    66# Created: 2007-10-20 15:10 +330 GMT 
    7 # Updated: 2007-11-01 11:48 +330 GMT 
     7# Updated: 2007-11-25 10:11 +330 GMT 
    88# 
    99# TODO: 
     
    371371    DSC_SIZE=`ls -l $DSC_FILE | awk '{print $5}'`  
    372372 
    373     sed -i s/"$DSC_OLDMD5SUM"/"$DSC_MD5SUM"/g $CHANGES_FILE || exit 
    374     sed -i s/"$DSC_OLDSIZE"/"$DSC_SIZE"/g $CHANGES_FILE || exit 
     373    sed -i s/" $DSC_OLDMD5SUM "/" $DSC_MD5SUM "/g $CHANGES_FILE || exit 
     374    sed -i s/" $DSC_OLDSIZE "/" $DSC_SIZE "/g $CHANGES_FILE || exit 
    375375 
    376376    # Sign changes file 
     
    404404    DSC_SIZE=`ls -l $DSC_FILE | awk '{print $5}' `  
    405405   
    406     sed -i s/"$DSC_OLDMD5SUM"/"$DSC_MD5SUM"/g $CHANGES_FILE || exit 
    407     sed -i s/"$DSC_OLDSIZE"/"$DSC_SIZE"/g $CHANGES_FILE || exit 
     406    sed -i s/" $DSC_OLDMD5SUM "/" $DSC_MD5SUM "/g $CHANGES_FILE || exit 
     407    sed -i s/" $DSC_OLDSIZE "/" $DSC_SIZE "/g $CHANGES_FILE || exit 
    408408 
    409409    # Sign changes file 
Note: See TracChangeset for help on using the changeset viewer.