diff --git a/helpers/make-firefox b/helpers/make-firefox index 8714ae323bc61e6c35a5cb20f82500be131c46a2..a7145bd87766f97d9db6230f53f091ea786e97a5 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