The symlink to toolbox.sh points to the absolute path of the file in the
Debian buildroot, which is an invalid location in an installed system.
This commit fixes the symlink to point to the location of the installed
file.
find $(DESTDIR)/$(PREFIX)/share/toolbox -type d -exec chmod 755 {} \;
find $(DESTDIR)/$(PREFIX)/share/toolbox -type f -exec chmod 644 {} \;
chmod -R 755 $(DESTDIR)/$(PREFIX)/share/toolbox
- ln -sf $(DESTDIR)/$(PREFIX)/share/toolbox/toolbox.sh $(DESTDIR)/$(PREFIX)/bin/toolbox.sh
+ ln -sf $(PREFIX)/share/toolbox/toolbox.sh $(DESTDIR)/$(PREFIX)/bin/toolbox.sh
uninstall:
rm $(DESTDIR)/$(PREFIX)/bin/toolbox.sh