summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
Diffstat (limited to 'infest')
-rw-r--r--infest/bootstrap.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/infest/bootstrap.sh b/infest/bootstrap.sh
index 3a560ffa..723e78f0 100644
--- a/infest/bootstrap.sh
+++ b/infest/bootstrap.sh
@@ -4,6 +4,8 @@ set -euf
KREBSDIR=${KREBSDIR:-/krebs}
[ "`id -u`" -eq "0" ] || { echo "you need to be root!"; exit 1;} || exit 1
+
+# brute force install git, krebs style
command -v git || \
apt-get install -y git-core || \
yum install git || \
@@ -17,11 +19,13 @@ command -v git || \
cd $KREBSDIR || { echo "cannot change into $KREBSDIR folder:(" ; exit 1; } || exit 1
-echo "do 'make infest' in $KREBSDIR"
-echo "have a nice day"
PATH=$PATH:$KREBSDIR/punani/bin
-# bootstrap the rest
+# install the rest
punani install make
+
+
+echo "do 'make infest' in $KREBSDIR"
+echo "have a nice day"