Checking for installer README.html to prevent build failure.

This commit is contained in:
Cody A.W. Somerville 2009-03-27 06:39:09 +01:00 committed by Daniel Baumann
parent 3f42bba0c7
commit b05975ba1e
1 changed files with 5 additions and 2 deletions

View File

@ -155,8 +155,11 @@ then
DEBIAN_TOOLS_TXT="/tools/"
fi
if [ -f binary/README.html ]
then
sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_HTML}|g" binary/README.html
sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_TXT}|g" binary/README.txt
fi
fi
# Creating stage file