mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 22:00:46 +02:00
Mac OS X installer scripts: made more flexible
git-svn-id: trunk@10182 -
This commit is contained in:
parent
95d60cc076
commit
45523c4fd1
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
PPC_RELEASE=$1
|
||||
|
||||
@ -9,11 +10,23 @@ if [ ! -e "$PPC_RELEASE" ]; then
|
||||
echo "Using default PPC_RELEASE: $PPC_RELEASE"
|
||||
fi
|
||||
|
||||
FREEZE=/usr/bin/freeze
|
||||
FPCSVNDIR=$2
|
||||
if [ ! -d "$FPCSVNDIR" ]; then
|
||||
FPCSVNDIR=~/src/fpcbuild/2.0.4
|
||||
echo "Using default FPCSVNDIR: $FPCSVNDIR"
|
||||
fi
|
||||
|
||||
FREEZE=/usr/local/bin/freeze
|
||||
if [ ! -e "$FREEZE" ]; then
|
||||
FREEZE=/usr/bin/freeze
|
||||
fi
|
||||
if [ ! -e "$FREEZE" ]; then
|
||||
echo "Cannot find freeze"
|
||||
fi
|
||||
|
||||
HDIUTIL=/usr/bin/hdiutil
|
||||
UPDATELIST=~/tmp/updatelist
|
||||
TEMPLATEDIR=`dirname $0`
|
||||
FPCSVNDIR=~/src/fpc/build
|
||||
FPCSOURCEDIR=$FPCSVNDIR/fpcsrc
|
||||
BUILDDIR=~/tmp/build
|
||||
FPCBUILDDIR=$BUILDDIR/fpc
|
||||
|
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
FREEZE=/usr/bin/freeze
|
||||
HDIUTIL=/usr/bin/hdiutil
|
||||
UPDATELIST=~/tmp/updatelist
|
||||
|
||||
@ -25,9 +25,17 @@ if [ ! -e "$SVN" ]; then
|
||||
echo "Cannot find a svn executable"
|
||||
fi
|
||||
|
||||
FREEZE=/usr/local/bin/freeze
|
||||
if [ ! -e "$FREEZE" ]; then
|
||||
FREEZE=/usr/bin/freeze
|
||||
fi
|
||||
if [ ! -e "$FREEZE" ]; then
|
||||
echo "Cannot find freeze"
|
||||
fi
|
||||
|
||||
TEMPLATEDIR=`dirname $0`
|
||||
|
||||
FPCSVNDIR=~/src/fpc/build
|
||||
FPCSVNDIR=~/src/fpcbuild/2.0.4
|
||||
FPCSOURCEDIR=$FPCSVNDIR/fpcsrc
|
||||
COMPILER=~/fpc/bin/$PPCARCH
|
||||
INSTALLDIR=~/tmp/fpcsrc
|
||||
|
@ -3,7 +3,6 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
FREEZE=/usr/bin/freeze
|
||||
HDIUTIL=/usr/bin/hdiutil
|
||||
UPDATELIST=~/tmp/updatelist
|
||||
|
||||
@ -26,6 +25,14 @@ if [ ! -e "$SVN" ]; then
|
||||
echo "Cannot find a svn executable"
|
||||
fi
|
||||
|
||||
FREEZE=/usr/local/bin/freeze
|
||||
if [ ! -e "$FREEZE" ]; then
|
||||
FREEZE=/usr/bin/freeze
|
||||
fi
|
||||
if [ ! -e "$FREEZE" ]; then
|
||||
echo "Cannot find freeze"
|
||||
fi
|
||||
|
||||
LAZSOURCEDIR=~/src/lazsource
|
||||
|
||||
COMPILER=~/fpc/bin/$PPCARCH
|
||||
|
Loading…
Reference in New Issue
Block a user