[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:Re: add custom environment variable in bash source code
From: |
b1431736437 |
Subject: |
Re:Re: add custom environment variable in bash source code |
Date: |
Thu, 18 Aug 2022 07:08:21 +0800 (CST) |
Because I'm using Android, Android doesn't support #!/bin/sh and #!/bin/bash, there is a dynamic library that fixes it, so I want to automatically add LD_PRELOAD before starting bash to make this dynamic library[https://github.com/termux/termux-exec] work , I want to modify the source code of bash to make it effective, not the bash.bashrc and profile files in the etc directory
在 2022-08-17 23:32:51,"Chet Ramey" <chet.ramey@case.edu> 写道:
On 8/16/22 10:09 PM, b1431736437@163.com wrote:
> Bash Version: 5.1
> Patch Level: 16
> Release Status: release
>
> Description:
> excuse me, how can I join the custom environment variable into the
> source code of Bash, and see this variable when execute env
What is it you want to do? You rarely need to add code to bash to do
something like that.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: add custom environment variable in bash source code, (continued)
- Re: add custom environment variable in bash source code, Alex fxmbsw7 Ratchev, 2022/08/17
- Re:Re: add custom environment variable in bash source code, b1431736437, 2022/08/17
- Re: Re: add custom environment variable in bash source code, Alex fxmbsw7 Ratchev, 2022/08/17
- Re: Re: add custom environment variable in bash source code, Alex fxmbsw7 Ratchev, 2022/08/17
- Re:Re: Re: add custom environment variable in bash source code, b1431736437, 2022/08/17
- Re: Re: Re: add custom environment variable in bash source code, Alex fxmbsw7 Ratchev, 2022/08/17
- Re: add custom environment variable in bash source code, Sam, 2022/08/17
- Re: add custom environment variable in bash source code, Dale R. Worley, 2022/08/17
- Re: add custom environment variable in bash source code, Alex fxmbsw7 Ratchev, 2022/08/17
- Re: Re: add custom environment variable in bash source code, Martin D Kealey, 2022/08/18
Re:Re: add custom environment variable in bash source code,
b1431736437 <=
Re: add custom environment variable in bash source code, Ángel, 2022/08/17