diff options
Diffstat (limited to 'src/prepare_environment.sh')
-rwxr-xr-x | src/prepare_environment.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/prepare_environment.sh b/src/prepare_environment.sh index 73fca98..c45c895 100755 --- a/src/prepare_environment.sh +++ b/src/prepare_environment.sh @@ -5,15 +5,16 @@ export XIB_BUILDFILES="$XIB_DIR/buildfiles" export XIB_CHROOT="$XIB_DIR/chroot" export XIB_EXPORT="$XIB_DIR/export" -export PRIV_KEY="$HOME/.ssh/xi.pem" +export PRIV_KEY="/home/david/.ssh/xi.pem" export BUILDFILES_GIT_REPO="https://xi.davidovski.xyz/git/buildfiles.git" -mkdir -pv $XIB_DIR $XIB_BUILDFILES $XIB_CHROOT $XIB_EXPORT +mkdir -p $XIB_DIR $XIB_BUILDFILES $XIB_CHROOT $XIB_EXPORT if [ -d $XIB_BUILDFILES/.git ]; then cd $XIB_BUILDFILES git pull + cd $OLDPWD else git clone $BUILDFILES_GIT_REPO $XIB_BUILDFILES fi |