Commit 572cee38 authored by Matt Caswell's avatar Matt Caswell
Browse files

Add obj_dat.h to the list of files that will not be processed by


openssl-format-source

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
parent b853717f
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -85,9 +85,12 @@ do
      tmp=$(mktemp /tmp/indent.XXXXXX)
      trap 'rm -f "$tmp"' HUP INT TERM EXIT

      case $j in 
      case `basename $j` in 
	# the list of files that indent is unable to handle correctly
	# that we simply leave alone for manual formatting now
	obj_dat.h)
	  echo "skipping $j"
	  ;;
	*)
	  if [ "$COMMENTS" = "true" ]; then
	    # we have to mark single line comments as /*- ...*/ to stop indent
@@ -129,10 +132,10 @@ do
	      > "$tmp"
	  else
	    expand "$j" | indent $INDENT_ARGS > "$tmp"
	  fi
	  fi;
	  mv "$tmp" "$j"
	  ;;
      esac
      mv "$tmp" "$j"
    fi
  done
done