Convert tabs to spaces in pre-commit-pysawsim-check.
authorW. Trevor King <wking@drexel.edu>
Wed, 27 Oct 2010 15:17:29 +0000 (11:17 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 27 Oct 2010 15:17:29 +0000 (11:17 -0400)
misc/hooks/pre-commit-pysawsim-check

index 6e4f27b13965d8a89bfe81bbd5040e48dd1ced8f..14d89cfe152a36b85a0405b94582ae55e001c66f 100755 (executable)
@@ -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