From 7f0ba47cb6fa3d4567ee7ab110196673184c4fe7 Mon Sep 17 00:00:00 2001
From: Legimet <legimet.calc@gmail.com>
Date: Thu, 18 Feb 2016 17:05:07 -0500
Subject: [PATCH] Fix MAJORVERSION

---
 helpers/make-firefox | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/make-firefox b/helpers/make-firefox
index 8714ae32..a7145bd8 100644
--- a/helpers/make-firefox
+++ b/helpers/make-firefox
@@ -30,7 +30,7 @@ cp ./browser/components/preferences/advanced-scripts.xul ./browser/components/pr
 
 # KDE integration patches from https://www.rosenauer.org/hg/mozilla
 # Use firefox$MAJORVERSION branch if available, otherwise use default
-MAJORVERSION=echo `pkgversion` | sed 's/\([0-9]\+\).*/\1/'
+MAJORVERSION=$(echo `pkgversion` | sed 's/\([0-9]\+\).*/\1/')
 BRANCH=firefox$MAJORVERSION
 if ! wget --spider https://rosenauer.org/hg/mozilla/log/$BRANCH; then
 	BRANCH=default
-- 
GitLab