normalize cat invocations

This commit is contained in:
Rui Lopes 2017-06-02 07:20:59 +01:00
parent 8e201a4572
commit 847880c5f0
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ popd
# see https://books.sonatype.com/nexus-book/3.0/reference/install.html#reverse-proxy # see https://books.sonatype.com/nexus-book/3.0/reference/install.html#reverse-proxy
apt-get install -y --no-install-recommends nginx apt-get install -y --no-install-recommends nginx
rm -f /etc/nginx/sites-enabled/default rm -f /etc/nginx/sites-enabled/default
cat<<EOF>/etc/nginx/sites-available/$config_fqdn.conf cat >/etc/nginx/sites-available/$config_fqdn.conf <<EOF
ssl_session_cache shared:SSL:4m; ssl_session_cache shared:SSL:4m;
ssl_session_timeout 6h; ssl_session_timeout 6h;
#ssl_stapling on; #ssl_stapling on;

View File

@ -28,7 +28,7 @@ nuget_source_push_api_key=$(nexus-groovy get-jenkins-nuget-api-key | jq -r '.res
nuget install MsgPack -Source $nuget_source_url nuget install MsgPack -Source $nuget_source_url
# test publishing a package. # test publishing a package.
cat <<'EOF' >example-hello-world.nuspec cat >example-hello-world.nuspec <<'EOF'
<package> <package>
<metadata> <metadata>
<id>example-hello-world</id> <id>example-hello-world</id>
@ -48,7 +48,7 @@ cat <<'EOF' >example-hello-world.nuspec
</files> </files>
</package> </package>
EOF EOF
cat <<'EOF' >MESSAGE.md cat >MESSAGE.md <<'EOF'
# Hello World # Hello World
Hey Ho Let's Go! Hey Ho Let's Go!
@ -78,7 +78,7 @@ sudo apt-get install -y xmlstarlet
# see https://books.sonatype.com/nexus-book/3.0/reference/maven.html # see https://books.sonatype.com/nexus-book/3.0/reference/maven.html
# see https://maven.apache.org/guides/mini/guide-mirror-settings.html # see https://maven.apache.org/guides/mini/guide-mirror-settings.html
mkdir -p ~/.m2 mkdir -p ~/.m2
cat <<'EOF' >~/.m2/settings.xml cat >~/.m2/settings.xml <<'EOF'
<settings> <settings>
<servers> <servers>
<server> <server>