diff options
author | Cody A.W. Somerville <cody-somerville@ubuntu.com> | 2009-03-27 06:39:09 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:43 +0100 |
commit | b05975ba1e91840139d57e3fba43dff838da0355 (patch) | |
tree | cb7dca8bf47f41ddc5b9a67dc92d1e67e1e8c332 /helpers | |
parent | 3f42bba0c79733aa281794876686b0640ae0281b (diff) | |
download | vyos-live-build-b05975ba1e91840139d57e3fba43dff838da0355.tar.gz vyos-live-build-b05975ba1e91840139d57e3fba43dff838da0355.zip |
Checking for installer README.html to prevent build failure.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_binary_includes | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes index e37cc6190..9dfeb18b5 100755 --- a/helpers/lh_binary_includes +++ b/helpers/lh_binary_includes @@ -155,8 +155,11 @@ then DEBIAN_TOOLS_TXT="/tools/" fi - 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 + 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 |