Re: CGI now fails with /bin/sh: 0: Illegal option -p after upgrade to ubuntu precise (/bin/sh-->/bin/dash)
Matthias Ferdinand <[email protected]> Wed, 31 Oct 2012 00:35:54 +0100
| Newsgroups | gmane.comp.lang.perl.modules.cgi-appplication |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 30, 2012 at 02:18:49PM -0400, Michael Friendly wrote: > I understand why this error occurs, but not how to fix it, at either the > perl or OS level. > WHY: It seems that in my current ubuntu precise release, /bin/sh > has been replaced by /bin/dash, and the latter does not support the > -p option of the former /bin/sh, Michael, you can change the default shell back to bash using sudo dpkg-reconfigure dash and answering "n" to the question "Install dash as /bin/sh?" Might slow down system start a little, but should actually work. Regards Matthias ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################