Commit 2b057df1 authored by Aral Balkan's avatar Aral Balkan

Updated the sed syntax so that it works on Ubuntu (I’d tested on OS X, which...

Updated the sed syntax so that it works on Ubuntu (I’d tested on OS X, which has a different syntax for the -i option.
parent 5c769d8f
......@@ -4,6 +4,8 @@
#
# Sets up the Better Builder deployment server.
#
# For Ubuntu 14.04. Not designed for/tested on any other operating system.
#
# Prerequisites:
#
# Requires a server with git. You will need git
......@@ -115,7 +117,12 @@ mkdir $ROOT
# Generate the configuration file from the template.
cp ./config.coffee.template $ROOT/config.coffee
sed -i '' "s/{TOKEN}/$gitlabWebHookToken/g" $ROOT/config.coffee
sed -i "s/{TOKEN}/$gitlabWebHookToken/g" $ROOT/config.coffee
# Note: this will not work on OS X. The installation script is for Ubuntu 14.04
# only at the moment. The OS version would be:
# sed -i '' "s/{TOKEN}/$gitlabWebHookToken/g" $ROOT/config.coffee
# Save the SSH keys into the folder the builder expects them in.
mkdir $ROOT/ssh
......
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