File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ packages:
41
41
commands :
42
42
- ["curl", "-OL", "https://matt.ucc.asn.au/dropbear/dropbear-2020.81.tar.bz2"]
43
43
- ["tar", "xjf", "dropbear-2020.81.tar.bz2"]
44
- - ["sh", "-c", "cd dropbear-2020.81; ./configure --enable-static && make"]
44
+ - ["sh", "-c", "cd dropbear-2020.81; ./configure --enable-static&& sed -i '/clearenv();/d' svr-chansession.c && make"]
45
45
- ["mv", "dropbear-2020.81/dropbear", "dropbear"]
46
46
- ["mv", "dropbear-2020.81/dropbearkey", "dropbearkey"]
47
47
- ["rm", "-rf", "dropbear-2020.81*"]
Original file line number Diff line number Diff line change @@ -599,7 +599,7 @@ func prepareIDELaunch(cfg *Config) *exec.Cmd {
599
599
func buildChildProcEnv (cfg * Config ) []string {
600
600
envs := make (map [string ]string )
601
601
for _ , e := range os .Environ () {
602
- segs := strings .Split (e , "=" )
602
+ segs := strings .SplitN (e , "=" , 2 )
603
603
if len (segs ) < 2 {
604
604
log .Printf ("\" %s\" has invalid format, not including in IDE environment" , e )
605
605
continue
You can’t perform that action at this time.
0 commit comments