diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-08-03 18:51:33 -0400 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-08-03 19:03:18 -0400 |
commit | 51c9e626c6e2cafbd1f561b5403d1b6c343afddb (patch) | |
tree | 750b1d860a018dd2f5836d329ab9062b5293b1ad | |
parent | 5e281e4960e21c7adf4a65afa701edbc653a618a (diff) | |
download | pbr-51c9e626c6e2cafbd1f561b5403d1b6c343afddb.tar.gz |
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
-rw-r--r-- | tools/integration.sh | 6 |
1 files 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 |