diff options
author | Matt Caswell <matt@openssl.org> | 2015-01-21 13:51:38 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 09:20:08 +0000 |
commit | 572cee384df98cfbb2f4f3a55da16fa7a3c3e3d3 (patch) | |
tree | e001edc1924008113ae42fa1efcc09f20f2e951b /util/openssl-format-source | |
parent | b853717fc42e52dece0e362f49fb783e698ef320 (diff) | |
download | openssl-572cee384df98cfbb2f4f3a55da16fa7a3c3e3d3.tar.gz |
Add obj_dat.h to the list of files that will not be processed by
openssl-format-source
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'util/openssl-format-source')
-rwxr-xr-x | util/openssl-format-source | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util/openssl-format-source b/util/openssl-format-source index 8cf27d3af3..e4944ddb68 100755 --- a/util/openssl-format-source +++ b/util/openssl-format-source @@ -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 |