Current location

narf Source control manager Git

aboutsummaryrefslogtreecommitdiff
blob: 254a2488469269e1a583edad7319880a29d5782b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

mkdir -p vendor
if [ -d vendor/vmdebootstrap ] ; then
    (cd vendor/vmdebootstrap; git checkout .; git pull)
else
    git clone git://git.liw.fi/vmdebootstrap vendor/vmdebootstrap
fi
cd vendor/vmdebootstrap
git checkout tags/vmdebootstrap-0.8
for f in ../../vendor-patches/vmdebootstrap/* ; do
    echo applying $(basename $f)
    patch -p1 < $f
done