From: Chris Sharp Date: Wed, 12 Jul 2017 23:04:39 +0000 (-0400) Subject: Fix variable assignments. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=271991194ce278b84da4fff881a4c0d71f941883;p=contrib%2Fpines%2Freport-creator.git Fix variable assignments. --- 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