Rearranged whitespace (and comments) in all the code!
[mmh] / etc / mhn.find.sh
index 3e5e98a..4b4230d 100755 (executable)
@@ -19,20 +19,20 @@ for A in $SEARCHPATH; do
 
     # skip the directories `.' and `..'
     if test "$A" = "." -o "$A" = ".."; then
-       continue
+        continue
     fi
 
     # if program was found in /usr/local/bin, then
     # just echo program name, else echo full pathname
     if test -f "$A/$PROGRAM"; then
-       if test "$A" = "/usr/local/bin"; then
-           PGM="$PROGRAM"
-       else
-           PGM="$A/$PROGRAM"
-       fi
-
-       echo "$PGM"
-       exit 0
+        if test "$A" = "/usr/local/bin"; then
+            PGM="$PROGRAM"
+        else
+            PGM="$A/$PROGRAM"
+        fi
+
+        echo "$PGM"
+        exit 0
     fi
 done
 IFS="$oIFS"