From: Matthias Kruk Date: Sat, 3 Apr 2021 04:40:08 +0000 (+0900) Subject: toolbox: Fix target of toolbox.sh symlink X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=9109f2b486f6d2a995e979df88661ce28fb87a52;p=toolbox toolbox: Fix target of toolbox.sh symlink 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. --- diff --git a/Makefile b/Makefile index f1e474f..1d779a7 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ install: 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