/[svn]/misc/trunk/mac_package_builder/make-tar-file.sh
ViewVC logotype

Diff of /misc/trunk/mac_package_builder/make-tar-file.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2802 by schoenebeck, Fri Jul 17 18:09:31 2015 UTC revision 2860 by persson, Sat Jan 30 17:45:33 2016 UTC
# Line 225  rsync -r --exclude='.svn' linuxsampler.u Line 225  rsync -r --exclude='.svn' linuxsampler.u
225          size_kb=`du -sk $d | cut -f 1`          size_kb=`du -sk $d | cut -f 1`
226          entries_count=`find . | wc -l`          entries_count=`find . | wc -l`
227          cp ../linuxsampler.unpkg/$d/PackageInfo ../linuxsampler.prepkg/$d          cp ../linuxsampler.unpkg/$d/PackageInfo ../linuxsampler.prepkg/$d
228          xmltxt=`xmlstarlet ed -u '/pkg-info/payload/@numberOfFiles' -v $entries_count ../linuxsampler.prepkg/$d/PackageInfo | xmlstarlet ed -u '/pkg-info/payload/@installKBytes' -v $size_kb -`          xmltxt=`xmlstarlet ed -u '/pkg-info/payload/@numberOfFiles' -v $entries_count ../linuxsampler.prepkg/$d/PackageInfo | xmlstarlet ed -u '/pkg-info/payload/@installKBytes' -v $size_kb`
229          echo $xmltxt > ../linuxsampler.prepkg/$d/PackageInfo          echo $xmltxt > ../linuxsampler.prepkg/$d/PackageInfo
230          identifier=`xmlstarlet sel -t -v '/pkg-info/@identifier' ../linuxsampler.prepkg/$d/PackageInfo`          identifier=`xmlstarlet sel -t -v '/pkg-info/@identifier' ../linuxsampler.prepkg/$d/PackageInfo`
231          xmltxt=`xmlstarlet ed -u "/installer-gui-script/pkg-ref[@id='$identifier']/@installKBytes" -v $size_kb ../linuxsampler.prepkg/Distribution`          xmltxt=`xmlstarlet ed -u "/installer-gui-script/pkg-ref[@id='$identifier']/@installKBytes" -v $size_kb ../linuxsampler.prepkg/Distribution`

Legend:
Removed from v.2802  
changed lines
  Added in v.2860

  ViewVC Help
Powered by ViewVC