X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=etc%2Fmhn.find.sh;h=4b4230d4edad261951ebb0d0c2e615291c17cdcc;hp=3e5e98a58ef8f2b41893c5587384b1717881c1ef;hb=a485ed478abbd599d8c9aab48934e7a26733ecb1;hpb=f480c03187724e54e5391ee61b810827da319a6c diff --git a/etc/mhn.find.sh b/etc/mhn.find.sh index 3e5e98a..4b4230d 100755 --- a/etc/mhn.find.sh +++ b/etc/mhn.find.sh @@ -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"