diff --git a/tools/install/macosx/create_lazarus_dmg.sh b/tools/install/macosx/create_lazarus_dmg.sh index 381229c265..8fc4f9fd6e 100755 --- a/tools/install/macosx/create_lazarus_dmg.sh +++ b/tools/install/macosx/create_lazarus_dmg.sh @@ -158,7 +158,9 @@ find $BUILDDIR -type d -exec chmod a+x {} \; # create etc mkdir -p $ROOTDIR/etc/lazarus -cp $TEMPLATEDIR/environmentoptions.xml $ROOTDIR/etc/lazarus/ +cat $TEMPLATEDIR/environmentoptions.xml | sed \ + -e "s|_PPCARCH_|$PPCARCH|g" \ + > $ROOTDIR/etc/lazarus/environmentoptions.xml # fill in packproj template. if [ -n "$EditMode" ]; then diff --git a/tools/install/macosx/environmentoptions.xml b/tools/install/macosx/environmentoptions.xml index e535eb05bf..bad33331b6 100644 --- a/tools/install/macosx/environmentoptions.xml +++ b/tools/install/macosx/environmentoptions.xml @@ -7,11 +7,11 @@ - + - - - + + +