Fix MAJORVERSION

This commit is contained in:
Legimet 2016-02-18 17:05:07 -05:00 committed by Ruben Rodriguez
parent dfd62e9457
commit 7f0ba47cb6

View file

@ -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