Unnamed repository
Go to file
John Hein 54637e7ee1 Ensure csh syntax is used for C shell even if SHELL env var is unset.
We know we're running from C shell in perl-homedir.csh, so be
explicit rather than letting local::lib guess.

If the SHELL environment variable is not set, perl -Mlocal::lib is
fooled into emitting bourne shell syntax (e.g., export FOO=bar)
instead of csh syntax (setenv FOO bar).  This can be fatal to the
C shell possibly interrupting execution of a script before the
script has completed.

This (no SHELL variable set) can happen, for instance, when running a
cron job.

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=2122359
https://issues.redhat.com/browse/RHEL-5545

Signed-off-by: John Hein <c0eh3p702@sneakemail.com>
2023-11-21 22:38:59 -07:00
.fmf Package tests 2021-10-15 15:44:00 +02:00
plans Package tests 2021-10-15 15:44:00 +02:00
tests Package tests 2021-10-15 15:44:00 +02:00
.gitignore 2.000029 bump 2022-04-25 17:01:55 +02:00
gating.yaml Package tests 2021-10-15 15:44:00 +02:00
perl-homedir.csh Ensure csh syntax is used for C shell even if SHELL env var is unset. 2023-11-21 22:38:59 -07:00
perl-homedir.sh avoid creating ~/perl5/ for all users (rhbz#789146) 2012-02-10 06:20:29 +01:00
perl-local-lib.spec Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild 2023-07-21 03:48:25 +00:00
sources 2.000029 bump 2022-04-25 17:01:55 +02:00