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
This commit is contained in:
Greg Beam 2014-02-04 02:54:17 +00:00
parent 77ef3c8bd5
commit 352cb657f9

View File

@ -164,15 +164,15 @@ cat << EOF > ./index.html
</head> </head>
EOF EOF
} }
function build_transfer_package() { function build_transfer_package() {
[ -d ./tmp ] && rm -r ./tmp [ -d ./tmp ] && rm -r ./tmp
# check if wsjtx-main-toc2.html exists # check if wsjtx-main-toc2.html exists
build_file="wsjtx-main-toc2.html" 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 then
echo "The docs's directory has previous build files" echo "The docs's directory has previous build files"
echo echo