From 098b5b28a8a1638595a3fe3831bb8b63154ae397 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Fri, 20 May 2016 12:13:58 -0400 Subject: [PATCH] fix web ui branch in install script --- packaging/ubuntu/ubuntu_package_setup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packaging/ubuntu/ubuntu_package_setup.sh b/packaging/ubuntu/ubuntu_package_setup.sh index 09483bb8e..95c0d4694 100755 --- a/packaging/ubuntu/ubuntu_package_setup.sh +++ b/packaging/ubuntu/ubuntu_package_setup.sh @@ -8,7 +8,7 @@ set -euo pipefail BRANCH=${1:-master} -WEB_UI_BRANCH=${2:-} +WEB_UI_BRANCH=${2:-master} BUILD_DIR="lbry-build-$(date +%Y%m%d-%H%M%S)" mkdir "$BUILD_DIR" @@ -48,9 +48,7 @@ tar -xvJf data.tar.xz --directory data PACKAGING_DIR='lbry/packaging/ubuntu' # set web ui branch -if [ -z "$WEB_UI_BRANCH" ]; then - sed -i "s/^WEB_UI_BRANCH='[^']\+'/WEB_UI_BRANCH='$WEB_UI_BRANCH'/" "$PACKAGING_DIR/lbry" -fi +sed -i "s/^WEB_UI_BRANCH='[^']\+'/WEB_UI_BRANCH='$WEB_UI_BRANCH'/" "$PACKAGING_DIR/lbry" # add files function addfile() {