summaryrefslogtreecommitdiff
path: root/node/setup-precise-node
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2012-11-23 16:10:44 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2012-11-23 16:10:44 +0200
commitd8954ce74c925e6fd8df4555406919b8c8163d79 (patch)
tree2280542d88909599727da3131de91276cf633fd4 /node/setup-precise-node
parentac362b2511e6bc7276d7c391d3a4a0294e99d197 (diff)
Fix ~ extra directory - use HOME instead of tilde
Diffstat (limited to 'node/setup-precise-node')
-rwxr-xr-xnode/setup-precise-node4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/setup-precise-node b/node/setup-precise-node
index 1cbfdce..41d490e 100755
--- a/node/setup-precise-node
+++ b/node/setup-precise-node
@@ -75,12 +75,12 @@ apt-get-retry install -y lighttpd
echo 'server.bind = "localhost"' >> /etc/lighttpd/lighttpd.conf
lighty-enable-mod userdir
service lighttpd force-reload
-mkdir ~/public_html
+mkdir ${HOME}/public_html
wget --mirror \
--no-parent \
--no-host-directories \
--cut-dirs=1 \
- --directory-prefix=~/public_html \
+ --directory-prefix=${HOME}/public_html \
--reject "index.html*" \
http://ci.linaro.org/~ubuntu/