From 352cb657f9aa1860d09e75f0c622f2662cdca5e5 Mon Sep 17 00:00:00 2001 From: Greg Beam Date: Tue, 4 Feb 2014 02:54:17 +0000 Subject: [PATCH] User Guide Updates ** Update build-doc.sh - I forgot to change a variable for web_packaging after testing. Should be working corretly now. :: @QX9770-SRV1/Win64 ==> Cygwin terminal git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3689 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- doc/build-doc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build-doc.sh b/doc/build-doc.sh index 51be3845d..55847a259 100755 --- a/doc/build-doc.sh +++ b/doc/build-doc.sh @@ -164,15 +164,15 @@ cat << EOF > ./index.html EOF } + function build_transfer_package() { [ -d ./tmp ] && rm -r ./tmp # check if wsjtx-main-toc2.html exists build_file="wsjtx-main-toc2.html" -old_html=$(ls -1 ./*.html 2>/dev/null | wc -l) -if [[ $old_file != 0 ]] +if [[ $(ls -1 ./*.html 2>/dev/null | wc -l) > 0 ]] then echo "The docs's directory has previous build files" echo