Re: postflight script failed [SOLVED]
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com -pmb _______________________________________________ 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... At 2:48 PM -0500 5/4/07, Fritz Anderson wrote: Changing the cookie from #!\<tab>/usr/bin/ruby to #!<space>/usr/bin/ruby solved the problem. I find the Installer environment's choking on the tab, when bash did not, to be odd, but I chalk that up to the many mysteries of sh-vs-bash. The #! at the beginning of a shell script is a signal to the kernel to exec the path after the #!. You should not put any whitespace between the #! and the path. Many interactive shells will attempt to parse a 'shell script' themselves before passing the file to the kernel to execute directly. That's probably the source of the differences you see. The installer does not treat any executable differently than any other. It just tries to run the file, and the kernel does the rest. This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Bierman