Fix install with hardlinks and a custom PREFIX. Closes 10801
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 23 Feb 2018 15:29:26 +0000 (16:29 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 23 Feb 2018 15:29:26 +0000 (16:29 +0100)
commitbf39d97e9d9422537970ed8c3af1b8270bdf0ac0
treeb16430a145b2f8c039e5edec5cb2ba5d6c912a8e
parent3177626033fa58fcb60e29009936f08f16e6a99c
Fix install with hardlinks and a custom PREFIX. Closes 10801

Trying to install busybox with hardlinks and a custom PREFIX will fail
for applets not in the /bin directory, because relative pathnames are
used. applets/install.sh is *supposed to* use the absolute pathname
for hardlinks but it fails to do so because the wrong check is used
in the if statement.

While fixing it, shore up other sloppy coding in applets/install.sh

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
applets/install.sh