Diff for /forward/src/make-amo.sh between versions 1.1 and 1.2

version 1.1, 2012/10/21 14:13:53 version 1.2, 2012/11/23 12:32:52
Line 1 Line 1
 #!/bin/bash  #!/bin/bash
 # amo  # amo
cd `dirname $0`/..cd $(dirname $(cygpath -u $(cygpath -m -s "${0}")))/..
 [ -d package ] || mkdir package  [ -d package ] || mkdir package
 cd package  cd package
 rm -fr amo/  rm -fr amo/
Line 33  grep em:update -A 2 ../src/install.rdf > Line 33  grep em:update -A 2 ../src/install.rdf >
 grep -v -f make-grep.txt ../src/install.rdf | grep -v em:unpack > amo/install.rdf  grep -v -f make-grep.txt ../src/install.rdf | grep -v em:unpack > amo/install.rdf
 rm make-grep.txt  rm make-grep.txt
 sed -r "s/chrome\//jar:chrome\/forward.jar!\//" ../src/chrome.manifest > amo/chrome.manifest  sed -r "s/chrome\//jar:chrome\/forward.jar!\//" ../src/chrome.manifest > amo/chrome.manifest
version=`grep em:version ../src/install.rdf | sed -r "s/^[^\"]*\"//" | sed -r "s/\"[^\"]*$//"`version=$(grep em:version ../src/install.rdf | sed -r "s/^[^\"]*\"//" | sed -r "s/\"[^\"]*$//")
 cd amo  cd amo
 rm forward-${version}-tb.xpi 2> /dev/null  rm forward-${version}-tb.xpi 2> /dev/null
 zip -r -D forward-${version}-tb.xpi install.rdf chrome.manifest chrome/forward.jar defaults/  zip -r -D forward-${version}-tb.xpi install.rdf chrome.manifest chrome/forward.jar defaults/

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>