blob: f7f57338a4c2653e51bb6bd7aa90ae74b4aab9a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
mkdir -p $XIB_DIR $XIB_BUILDFILES $XIB_CHROOT $XIB_EXPORT
if [ -d $DEVELOPMENT_BUILDFILES ]; then
cp -r $DEVELOPMENT_BUILDFILES/* $XIB_BUILDFILES/
else
if [ -d $XIB_BUILDFILES/.git ]; then
cd $XIB_BUILDFILES
git pull
cd $OLDPWD
else
git clone $BUILDFILES_GIT_REPO $XIB_BUILDFILES
fi
fi
[ -f $INSTALLED_PACKAGES ] || touch $INSTALLED_PACKAGES
[ -f $XIB_CHROOT/etc/resolv.conf ] || cp /etc/resolv.conf $XIB_CHROOT/etc/resolv.conf
cp build_profile $BUILD_PROFILE
|