From a11f0e82bf2ad48b246b419d5abdfec08809e0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 5 Dec 2007 00:32:04 +0000 Subject: [PATCH] Adapt to macos 10.5 packagemaker git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22173 ec53bebd-3082-4978-b11e-865c3cabbd6b --- packages/mac/mac.sh | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/mac/mac.sh b/packages/mac/mac.sh index 3791080d4..f7ace258c 100644 --- a/packages/mac/mac.sh +++ b/packages/mac/mac.sh @@ -31,18 +31,16 @@ make check > /dev/null || exit 1 echo "Install" make install DESTDIR=${destdir} > /dev/null || exit 1 -replace="s,[@]VERSION[@],${version},g" - -sed -e $replace < ${base}/Info.plist.in > ./Info.plist - echo "Build package" /Developer/usr/bin/packagemaker \ - -build \ - -ds \ - -f ${destdir} \ - -p ${imgdir}/Heimdal.pkg \ - -r ${base}/Resources \ - -i ./Info.plist || exit 1 + --version "${version}" \ + --root ${destdir} \ + --info ${base}/Info.plist + --out ${imgdir}/Heimdal.pkg \ + --resources ${base}/Resources \ + -ds || exit 1 + +exit 0 cd .. echo "Build disk image"