Use /bin/sed instead of sed
This commit is contained in:
parent
7f0ba47cb6
commit
398345a4b9
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ cp ./browser/components/preferences/advanced-scripts.xul ./browser/components/pr
|
||||||
|
|
||||||
# KDE integration patches from https://www.rosenauer.org/hg/mozilla
|
# KDE integration patches from https://www.rosenauer.org/hg/mozilla
|
||||||
# Use firefox$MAJORVERSION branch if available, otherwise use default
|
# Use firefox$MAJORVERSION branch if available, otherwise use default
|
||||||
MAJORVERSION=$(echo `pkgversion` | sed 's/\([0-9]\+\).*/\1/')
|
MAJORVERSION=$(echo `pkgversion` | /bin/sed 's/\([0-9]\+\).*/\1/')
|
||||||
BRANCH=firefox$MAJORVERSION
|
BRANCH=firefox$MAJORVERSION
|
||||||
if ! wget --spider https://rosenauer.org/hg/mozilla/log/$BRANCH; then
|
if ! wget --spider https://rosenauer.org/hg/mozilla/log/$BRANCH; then
|
||||||
BRANCH=default
|
BRANCH=default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue