Commit 75f069b7 authored by Jakub Jirutka's avatar Jakub Jirutka

setup-proxy: indent heredoc

parent 192106e8
...@@ -54,13 +54,13 @@ if [ -z "$proxyurl" ]; then ...@@ -54,13 +54,13 @@ if [ -z "$proxyurl" ]; then
rm -f "$PROFILE" rm -f "$PROFILE"
else else
mkdir -p "${PROFILE%/*}" mkdir -p "${PROFILE%/*}"
cat >"$PROFILE" <<__EOF__ cat >"$PROFILE" <<-__EOF__
# this file was generated with and might get overwritten by setup-proxy # this file was generated with and might get overwritten by setup-proxy
export http_proxy=$proxyurl export http_proxy=$proxyurl
export https_proxy=$proxyurl export https_proxy=$proxyurl
export ftp_proxy=$proxyurl export ftp_proxy=$proxyurl
__EOF__ __EOF__
fi fi
[ -e "$PROFILE" ] || exit 1 [ -e "$PROFILE" ] || exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment