From a36bb33445acdbc5bfc30ecab8408dac9a99913e Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 9 Feb 2016 12:53:42 -0500 Subject: [PATCH] dist-docs: Convert tabs to spaces. This file used mixed indentation. Convert the tabs to spaces for consistency. Signed-off-by: Russell Bryant Acked-by: Ben Pfaff --- build-aux/dist-docs | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/build-aux/dist-docs b/build-aux/dist-docs index 73c85ed57..a81e4b266 100755 --- a/build-aux/dist-docs +++ b/build-aux/dist-docs @@ -24,10 +24,10 @@ search_path () { save_IFS=$IFS IFS=: for dir in $PATH; do - IFS=$save_IFS - if test -x "$dir/$1"; then - return 0 - fi + IFS=$save_IFS + if test -x "$dir/$1"; then + return 0 + fi done IFS=$save_IFS echo >&2 "$0: $1 not found in \$PATH, please install and try again" @@ -71,37 +71,37 @@ do title=`head -1 "$srcdir/$file"` dir=$distdir/`dirname $file`; test -d "$dir" || mkdir "$dir" case $file in - *.md) - cp "$srcdir/$file" "$distdir/$file.txt" - ln -s $(basename "$file.txt") "$distdir/$file" - (cat < $file (Open vSwitch $VERSION) EOF - markdown "$distdir/$file.txt" - echo "") > "$distdir/$file.html" - cat <") > "$distdir/$file.html" + cat < $file $title HTML, plain text EOF - ;; + ;; - *) - cp "$srcdir/$file" "$distdir/$file" - cat < $file $title plain text EOF - ;; + ;; esac done >&3 -- 2.20.1