Skip to content

Commit

Permalink
fix shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Apr 6, 2018
1 parent dd8ba67 commit 2aba3d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/centos/eups-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spinner()
local pid=$1
local delay=0.75
local spinstr='.'
while ps -p "$pid" | grep -q "$pid"; do
while ps -p "$pid" > /dev/null 2>&1; do
echo -n "$spinstr"
sleep $delay
done
Expand All @@ -16,6 +16,7 @@ spinner()

SRC_DIR=/home/qserv/src

# shellcheck disable=SC1091
. /qserv/stack/loadLSST.bash

setup git 1.8.5.2
Expand Down
3 changes: 2 additions & 1 deletion tests/debian/eups-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spinner()
local pid=$1
local delay=0.75
local spinstr='.'
while ps -p "$pid" | grep -q "$pid"; do
while ps -p "$pid" > /dev/null 2>&1; do
echo -n "$spinstr"
sleep $delay
done
Expand All @@ -16,6 +16,7 @@ spinner()

SRC_DIR=/home/qserv/src

# shellcheck disable=SC1091
. /qserv/stack/loadLSST.bash

cp -r /tmp/mariadb $SRC_DIR
Expand Down

0 comments on commit 2aba3d2

Please sign in to comment.