PackageMaker exits with 0, but no installer package is created...help! :)
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AckedAZyr2PifkbAok23q1YE5112FA== Thread-topic: PackageMaker exits with 0, but no installer package is created...help! :) User-agent: Microsoft-Entourage/12.12.0.080729 Howdy All, I am running this on Leopard 10.5.5, using Xcode 3.1. I have made a couple of small changes (I removed the 'exit 0' from the first block in the 'if...fi' block, and I removed an extraneous 'if' that was mentioned earlier I am running this script in the hopes of building my installer package, and placing the output in a specific folder. At this point, when I run the script, my target directory is created yet there is no package file output there. PackageMaker seems to exit with 0, and I see nothing indicating the problem in the verbose output. Can anyone offer some ideas on how I might proceed? Has anyone ever run into a problem like this? Regards, Steve O'Sullivan # --- begin script #!/bin/sh # set -vx VERSION=$1 BUILDVERSION=$2 GETDATE=$(date +%m%d%y) CONSOLETARGET="/Volumes/TestingMac/target/Installers/target_${VERSION}_${GET DATE}/Console.pkg" packagemaker -r /pkg_base_console -o ${CONSOLETARGET} -i com.emc.company -n ${BUILDVERSION} -t company -l /Applications/company/ -g 10.5 -h system -b -v
pm_console_text.txt
echo "packagemaker output: "$? if [ $? == 0 ] then echo "pm_console.sh ran." >> /daily_build.txt else echo "pm_console.sh failed." >> /daily_build.txt exit 1 Fi exit 0 # --- end script _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
OSullivan, Steve