]> TLD Linux GIT Repositories - packages/busybox.git/blob - busybox-ash-export-PATH.patch
- merged 1.31.1 from PLD
[packages/busybox.git] / busybox-ash-export-PATH.patch
1 --- busybox.orig/shell/ash.c
2 +++ busybox/shell/ash.c
3 @@ -1748,7 +1748,7 @@
4         { VSTRFIXED|VTEXTFIXED|VUNSET, "MAIL\0"    , changemail      },
5         { VSTRFIXED|VTEXTFIXED|VUNSET, "MAILPATH\0", changemail      },
6  #endif
7 -       { VSTRFIXED|VTEXTFIXED       , bb_PATH_root_path, changepath },
8 +       { VSTRFIXED|VTEXTFIXED|VEXPORT, bb_PATH_root_path, changepath },
9         { VSTRFIXED|VTEXTFIXED       , "PS1=$ "    , NULL            },
10         { VSTRFIXED|VTEXTFIXED       , "PS2=> "    , NULL            },
11         { VSTRFIXED|VTEXTFIXED       , "PS4=+ "    , NULL            },