-
Notifications
You must be signed in to change notification settings - Fork 11
/
setupScale.sh
23 lines (22 loc) · 922 Bytes
/
setupScale.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
echo "*********************************************"
echo "* cloning repository "
echo "*********************************************"
git clone --branch v0.2.3 https://github.com/guillep/Scale /tmp/scale
cd /tmp/scale
echo "*********************************************"
echo "* building scale image "
echo "*********************************************"
./build/build.sh
echo "*********************************************"
echo "* checking if there is any old installation "
echo "*********************************************"
./build/scale-bootstrap build/uninstall.st
echo "*********************************************"
echo "* Copying files! "
echo "*********************************************"
./build/scale-bootstrap build/install.st
echo "*********************************************"
echo "* Cleaning the mess :) "
echo "*********************************************"
rm /tmp/scale -rf