Skip Menu |
 

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 67124
Status: new
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: ben [...] desync.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.009
Fixed in: (no value)



Subject: Unable to run pp binaries as login shell
Download (untitled) / with headers
text/plain 165b
par.pl can't figure out progname when the binary is started as a login shell. The attached patch fixes this in at least FreeBSD, albeit probably not the right way.
Subject: par.pl.diff
Download par.pl.diff
text/x-diff 439b
--- PAR-Packer-1.009/script/par.pl 2011-03-22 17:53:30.000000000 +0000 +++ PAR-Packer-1.009-new/script/par.pl 2011-03-31 18:09:43.167811885 +0000 @@ -861,6 +861,10 @@ $progname ||= $0; + if ($progname =~ /^-/ and $ENV{SHELL}) { + $progname = $ENV{SHELL}; + } + if ($ENV{PAR_TEMP} and index($progname, $ENV{PAR_TEMP}) >= 0) { $progname = substr($progname, rindex($progname, $Config{_delim}) + 1); }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.