[tor-commits] [torbutton/master] Alter makexpi.sh version extraction.

mikeperry at torproject.org mikeperry at torproject.org
Thu May 31 01:17:31 UTC 2012


commit 7ed2435f876b4c418479c22fc3565ab222ae766a
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Wed May 30 18:16:48 2012 -0700

    Alter makexpi.sh version extraction.
---
 makexpi.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/makexpi.sh b/makexpi.sh
index d8b8358..42479c3 100755
--- a/makexpi.sh
+++ b/makexpi.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 APP_NAME=torbutton
-VERSION=`grep em:version src/install.rdf | sed -e 's/[<>]/	/g' | cut -f3`
+VERSION=`grep em:version src/install.rdf | sed -e 's/["]//g' | cut -f2 -d=`
 XPI_NAME=$APP_NAME-$VERSION.xpi
 
 if [ -e "pkg/$XPI_NAME" ]; then



More information about the tor-commits mailing list