This commit is contained in:
Oliver Davies 2017-07-25 02:15:02 +01:00
parent 27b6e16c90
commit c55db9d415

View file

@ -11,8 +11,7 @@ TARGET_BRANCH="master"
BUILD_DIR=".build" BUILD_DIR=".build"
# Prepare the build directory. # Prepare the build directory.
mkdir -p $BUILD_DIR git clone $REPO $BUILD_DIR
cp -R .git $BUILD_DIR
pushd $BUILD_DIR pushd $BUILD_DIR
git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH
popd popd