|
@@ -2,6 +2,10 @@
|
|
|
POWER_REPO="https://andreagus@bitbucket.org/zanella_michele/odroid_smartpower_bridge.git"
|
|
|
BASE_DIR=`pwd`
|
|
|
|
|
|
+# Output message for the user
|
|
|
+echo "We are retrieving, building and installing the pocl power measurement utility"
|
|
|
+sleep 10
|
|
|
+
|
|
|
# Check if the build direcroty already exists, otherwise create it
|
|
|
if [ ! -d "build" ]; then
|
|
|
mkdir build
|
|
@@ -9,6 +13,9 @@ fi
|
|
|
|
|
|
cd build
|
|
|
|
|
|
+# Output message for the user
|
|
|
+echo "Please be aware that by default we are trying to clone the repository from my account of bitbucket, remember to replace the POWER_REPO variable in the script with the real reference from which you want to clone the repository"
|
|
|
+
|
|
|
# Clone the repo containg the power measurement tool
|
|
|
if [ ! -d "odroid_smartpower_bridge" ]; then
|
|
|
git clone $POWER_REPO
|