From: W. Trevor King Date: Wed, 27 Oct 2010 15:17:29 +0000 (-0400) Subject: Convert tabs to spaces in pre-commit-pysawsim-check. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1062b05606ba8ba1e0ca1a715807ca25f16650e5;p=sawsim.git Convert tabs to spaces in pre-commit-pysawsim-check. --- 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