diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-05 22:20:26 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-10 19:28:28 +1000 |
commit | 7af304a473d3dc20da215dc64215b656088eb419 (patch) | |
tree | e1f6eba17f317a809af5bfcb715eb9f82dd32b2c /shell | |
parent | da42856b7970e9221216c88926b626f8efda4f51 (diff) | |
download | busybox-w32-7af304a473d3dc20da215dc64215b656088eb419.tar.gz busybox-w32-7af304a473d3dc20da215dc64215b656088eb419.tar.bz2 busybox-w32-7af304a473d3dc20da215dc64215b656088eb419.zip |
win32: appletlib: special way to recognize applet name on Windows
argv[0] on Windows is always the executable path. We can't rely on it
to extract the applet name. For single busybox executable, just pass
an environment variable, BUSYBOX_APPLET_NAME.
Also strip .exe suffix when looking for applet name.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions