[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 7ed2435f876b4c418479c22fc3565ab222ae766a
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits