mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
Use bash magic instead of sed
This commit is contained in:
parent
b0486e333d
commit
9c94f2ac14
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ fi
|
|||
# Chop 'origin' off the start as jenkins ends up using
|
||||
# branches on the origin, but this doesn't work if we
|
||||
# specify the branch when cloning.
|
||||
curbranch=`echo "$curbranch" | sed -e 's/^origin\///'`
|
||||
curbranch=${curbranch#origin/}
|
||||
|
||||
echo "Determined branch to be $curbranch"
|
||||
|
||||
|
|
Loading…
Reference in a new issue