Skip to content

Commit

Permalink
Use .build-env for the build environment path.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukele committed Apr 2, 2012
1 parent c239554 commit 4a68880
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .build-env
@@ -0,0 +1 @@
BUILDENV_DMG="/GPGTools/buildbot/MacGPG2PPCBuildEnv.dmg"
1 change: 0 additions & 1 deletion Makefile.config
@@ -1,4 +1,3 @@
BUILDENV_DMG="/GPGTools/buildbot/MacGPG2PPCBuildEnv.dmg"
name="MacGPG2"
volumeName="$name"
version="2.0.19"
Expand Down
8 changes: 5 additions & 3 deletions build.sh
Expand Up @@ -6,13 +6,15 @@ export BUILDDIR="$SOURCEDIR/build"
export LOGPATH="$BUILDDIR"
export INSTALLDIR="$BUILDDIR/homebrew"
export DEPLOYDIR="$BUILDDIR/MacGPG2"
export BUILDENV_DMG="/Users/lukele/Desktop/MacGPG2PPCBuildEnv.dmg"
export BUILDENV_DMG=""
export BUILDENV_MOUNT_DIR="$SOURCEDIR/build-env"
export BUILD_PPC=0
export NO_BUILDROOT_EXISTS=$(test -d $INSTALLDIR -a -w $INSTALLDIR; echo $?)

# Include the make file config.
. Makefile.config
# Include the build-env file.
test -f ".build-env" && source ".build-env"
# Include the local build-env file which is not in git.
test -f ".build-env.local" && source ".build-env.local"

# Include status messages functions.
. status.sh
Expand Down

0 comments on commit 4a68880

Please sign in to comment.