Fix file appending
This commit is contained in:
parent
fd181f8486
commit
31cb7aec39
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -33,7 +33,7 @@ if [ -z "${LINKGEN_NO_DEFAULT}" ]; then
|
|||
# LINKGEN_NO_DEFAULT is undefined, generate default links
|
||||
echo ":: Generating StarOpenSource's default links"
|
||||
# Index
|
||||
cat << EOF >> index.html
|
||||
cat << EOF > index.html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
@ -52,7 +52,7 @@ if [ -z "${LINKGEN_NO_DEFAULT}" ]; then
|
|||
</html>
|
||||
EOF
|
||||
# Robots
|
||||
cat << EOF >> robots.txt
|
||||
cat << EOF > robots.txt
|
||||
User-Agent: *
|
||||
Disallow: /
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue