Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bootstrap support

  • Loading branch information...
commit 03d39f227d6c9722aee76ed18c73f4a09d3ef018 1 parent a1f4e23
@koush koush authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 build.sh
View
9 build.sh
@@ -30,7 +30,14 @@ fi
if [ ! -d $REPO_BRANCH ]
then
- mkdir $REPO_BRANCH
+ if [ ! -z "$BOOTSTRAP" -a -d "$BOOTSTRAP" ]
+ then
+ cp -R $BOOTSTRAP $REPO_BRANCH
+ # this preserves .repo
+ rm -rf *
+ else
+ mkdir $REPO_BRANCH
+ fi
cd $REPO_BRANCH
repo init -u git://github.com/CyanogenMod/android.git -b $REPO_BRANCH
else
Please sign in to comment.
Something went wrong with that request. Please try again.