You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-25 09:43:33 +03:00
Use bash magic instead of sed
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user