From ec4f43941eca44fe10569fba97be9fd748f8f005 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 10 Sep 2014 15:33:49 -0300 Subject: [PATCH] fix build for browsers --- browser-extensions/chrome/build.sh | 2 +- browser-extensions/firefox/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser-extensions/chrome/build.sh b/browser-extensions/chrome/build.sh index 5d3f54e7f..cb7fbe92e 100644 --- a/browser-extensions/chrome/build.sh +++ b/browser-extensions/chrome/build.sh @@ -20,7 +20,7 @@ checkOK() { BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" APPDIR="$BUILDDIR/copay-chrome-extension" ZIPFILE="copay-chrome-extension.zip" -VERSION=`cut -d '"' -f2 $BUILDDIR/../../version.js` +VERSION=`cut -d '"' -f2 $BUILDDIR/../../version.js|head -n 1` # Move to the build directory cd $BUILDDIR diff --git a/browser-extensions/firefox/build.sh b/browser-extensions/firefox/build.sh index 138c59e0a..6c9867c78 100644 --- a/browser-extensions/firefox/build.sh +++ b/browser-extensions/firefox/build.sh @@ -20,7 +20,7 @@ checkOK() { BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" APPDIR="$BUILDDIR/firefox-addon" ZIPFILE="copay-firefox-addon.zip" -VERSION=`cut -d '"' -f2 $BUILDDIR/../../version.js` +VERSION=`cut -d '"' -f2 $BUILDDIR/../../version.js|head -n 1` cfx >/dev/null