From 271991194ce278b84da4fff881a4c0d71f941883 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Wed, 12 Jul 2017 19:04:39 -0400 Subject: [PATCH] Fix variable assignments. --- install-ubuntu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-ubuntu.sh b/install-ubuntu.sh index f29d626..27a59ce 100755 --- a/install-ubuntu.sh +++ b/install-ubuntu.sh @@ -22,8 +22,8 @@ if [ "$(whoami)" != "root" ]; then echo "Must be root to run this script." && exit 1 fi -DISTRO="lsb_release -i | awk '{print $3}'" -RELEASE="lsb_release -r | awk '{print $2}'" +DISTRO="$(lsb_release -i | awk '{print $3}')" +RELEASE="$(lsb_release -r | awk '{print $2}')" OSRF_WEB_ROOT="/openils/var/web" if [ "$DISTRO" == "Ubuntu" ]; then if [ "$RELEASE" == "16.04" ]; then -- 2.11.0