From 51c9e626c6e2cafbd1f561b5403d1b6c343afddb Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 3 Aug 2013 18:51:33 -0400 Subject: Clean up some style warnings ksh -n, weirdly enough, can be used as a rudimentary syntax and style checker for bash. tools/integration.sh was mostly clean, but it suggested that `` should be replaced with $(). Sure, why not. Change-Id: I76beff1194133444284c1e8fbbd5d87db369e47f --- tools/integration.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/integration.sh b/tools/integration.sh index 2e8d5f6..2bd0b6a 100644 --- a/tools/integration.sh +++ b/tools/integration.sh @@ -26,9 +26,9 @@ REPODIR=${REPODIR:-$BASE/new} # TODO: Figure out how to get this on to the box properly sudo apt-get install -y --force-yes libxml2-dev libxslt-dev libmysqlclient-dev libpq-dev libnspr4-dev pkg-config libsqlite3-dev libzmq-dev libffi-dev -tmpdir=`mktemp -d` +tmpdir=$(mktemp -d) -whoami=`whoami` +whoami=$(whoami) tmpdownload=$tmpdir/download mkdir -p $tmpdownload @@ -158,7 +158,7 @@ projectdir=$tmpdir/projects mkdir -p $projectdir for PROJECT in $PROJECTS ; do - SHORT_PROJECT=`basename $PROJECT` + SHORT_PROJECT=$(basename $PROJECT) if ! grep 'pbr' $REPODIR/$SHORT_PROJECT/requirements.txt >/dev/null 2>&1 then # project doesn't use pbr -- cgit v1.2.1