Ignore:
Timestamp:
2012-12-27T08:34:58+01:00 (21 months ago)
Author:
moo
Message:

remove absolute path in md5 file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • autobuild/scripts/updatepackage

    r1168 r1220  
    1313        popd >/dev/null 
    1414        mv "$file.tmp" "$file" 
    15         md5sum "$file" | sed 's#/.*/##' > "$file.md5.txt" 
     15        md5sum "$file" | LANG=C sed 's#/.*/##' > "$file.md5.txt" 
    1616    fi 
    1717} 
     
    4848        zip tmp.zip $(find "${files[@]}") || die 
    4949        mv tmp.zip "$binaryPackagePath" 
    50         md5sum "$binaryPackagePath" > "$binaryPackagePath.md5.txt" 
     50        md5sum "$binaryPackagePath" | LANG=C sed 's#/.*/##' > "$binaryPackagePath.md5.txt" 
    5151 
    5252        zip tmp.zip "Release${_TS}/php_$ext.pdb" 
    5353        mv tmp.zip "$debugPackagePath" 
    54         md5sum "$debugPackagePath" > "$debugPackagePath.md5.txt" 
     54        md5sum "$debugPackagePath" | LANG=C sed 's#/.*/##' > "$debugPackagePath.md5.txt" 
    5555        popd >/dev/null 
    5656    fi 
Note: See TracChangeset for help on using the changeset viewer.