Skip to content

Commit 53c9f1e

Browse files
committed
use shallow clones to speed things up and reduce disk space usage
1 parent 6005627 commit 53c9f1e

File tree

39 files changed

+41
-41
lines changed

39 files changed

+41
-41
lines changed

afl/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ chmod 755 bin/afl-fuzz
2727
# multiafl
2828
#
2929

30-
git clone https://github.com/zardus/multiafl
30+
git clone --depth 1 https://github.com/zardus/multiafl
3131
cd bin
3232
ln -s ../multiafl/multiafl
3333
cd ..

angr/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/sip.so ] || ln -s /usr/lib/python2.7/dist-packages/sip.so $VIRTUAL_ENV/lib/python2.7/site-packages/
55
[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/pygraphviz ] || ln -s /usr/lib/pymodules/python2.7/pygraphviz $VIRTUAL_ENV/lib/python2.7/site-packages/
66

7-
git clone https://github.com/angr/angr-dev
7+
git clone --depth 1 https://github.com/angr/angr-dev
88
cd angr-dev
99
./setup.sh
1010
cd ..

barf/install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
pip install https://github.com/zardus/z3/archive/pypy-and-setup.zip
55

66
# pybfd can't be installed with pip
7-
git clone https://github.com/Groundworkstech/pybfd
7+
git clone --depth 1 https://github.com/Groundworkstech/pybfd
88
cd pybfd/
99
python setup.py install
1010
cd ..
1111

1212
# install barf
13-
git clone https://github.com/programa-stic/barf-project
13+
git clone --depth 1 https://github.com/programa-stic/barf-project
1414
cd barf-project/
1515
pip install -e pyasmjit/
1616
pip install -e barf/

bindead/install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
INST_DIR="$PWD"
44

5-
[ -e bindead ] || git clone https://bitbucket.org/mihaila/bindead.git
5+
[ -e bindead ] || git clone --depth 1 https://bitbucket.org/mihaila/bindead.git
66
cd bindead
77
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre ./build.sh
88
cd ..
99

10-
[ -e p9 ] || git clone https://bitbucket.org/mihaila/p9.git
10+
[ -e p9 ] || git clone --depth 1 https://bitbucket.org/mihaila/p9.git
1111
cd p9
1212
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre ./build.sh
1313
unzip p9.zip

binwalk/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
git clone https://github.com/devttys0/binwalk.git
3+
git clone --depth 1 https://github.com/devttys0/binwalk.git
44
pip install -e binwalk
55

66
mkdir -p bin

checksec/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
git clone https://github.com/slimm609/checksec.sh
3+
git clone --depth 1 https://github.com/slimm609/checksec.sh
44
mkdir bin
55
cd bin
66
ln -s ../checksec.sh/checksec .

codereason/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
git clone https://github.com/trailofbits/codereason
3+
git clone --depth 1 https://github.com/trailofbits/codereason
44
cd codereason
55
./install_vex.sh
66
./make.sh

commix/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
git clone https://github.com/stasinopoulos/commix.git
3+
git clone --depth 1 https://github.com/stasinopoulos/commix.git
44
mkdir bin
55
cd bin
66
ln -s ../commix/commix.py

cribdrag/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
git clone https://github.com/SpiderLabs/cribdrag
3+
git clone --depth 1 https://github.com/SpiderLabs/cribdrag
44

55
mkdir bin
66
cd bin

crosstool/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -e
22

33
mkdir -p src
4-
git clone https://github.com/crosstool-ng/crosstool-ng.git
4+
git clone --depth 1 https://github.com/crosstool-ng/crosstool-ng.git
55
cd crosstool-ng
66
./bootstrap
77
./configure --enable-local

0 commit comments

Comments
 (0)