From 1062b05606ba8ba1e0ca1a715807ca25f16650e5 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 27 Oct 2010 11:17:29 -0400 Subject: [PATCH] Convert tabs to spaces in pre-commit-pysawsim-check. --- misc/hooks/pre-commit-pysawsim-check | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/hooks/pre-commit-pysawsim-check b/misc/hooks/pre-commit-pysawsim-check index 6e4f27b..14d89cf 100755 --- a/misc/hooks/pre-commit-pysawsim-check +++ b/misc/hooks/pre-commit-pysawsim-check @@ -8,20 +8,20 @@ if [ -n "$HAS_MPD" ]; then mpdtrace >/dev/null 2>&1 if [ "$?" -ne 0 ]; then - LOCAL_MPD='1' - mpd & # start an mpd instance - sleep 1 # give mpd some time to start up + LOCAL_MPD='1' + mpd & # start an mpd instance + sleep 1 # give mpd some time to start up fi # otherwise there is an mpd instance already running mpiexec -n 1 nosetests --with-doctest --doctest-tests pysawsim RESULT="$?" if [ -n "$LOCAL_MPD" ]; then - mpdallexit + mpdallexit fi if [ "$RESULT" -ne 0 ]; then - exit 1; + exit 1; fi else # no MPD -- 2.26.2