diff options
author | Ron Yorston <rmy@pobox.com> | 2020-08-31 11:18:52 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-08-31 15:04:42 +0100 |
commit | a20dad67289d23f965b4dfad45c32c593c8b7671 (patch) | |
tree | e151c5089354e6935ebee70abc61d7531c321f68 /init | |
parent | adf41838bb4d33efc8069f9590f8e7ccc3978295 (diff) | |
download | busybox-w32-a20dad67289d23f965b4dfad45c32c593c8b7671.tar.gz busybox-w32-a20dad67289d23f965b4dfad45c32c593c8b7671.tar.bz2 busybox-w32-a20dad67289d23f965b4dfad45c32c593c8b7671.zip |
win32: make location of Unix-style absolute paths configurable
Previously busybox-w32 was enhanced so certain Unix-style absolute
paths of the form '/dir/file' were treated as being relative to the
system drive. (Notionally as reported by %SYSTEMDRIVE% but in fact
derived from the API call GetSystemDirectory().)
Make the location of such files configurable by the BB_SYSTEMROOT
environment variable.
- BB_SYSTEMROOT should probably only refer to a Windows-style
absolute path, but this isn't checked.
- Set BB_SYSTEMROOT using the Windows Control Panel or setx, not as
a shell variable: the shell itself won't see the environment
variable.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions