[Buildroot] [git commit branch/2018.02.x] gawk: install /usr/bin/awk as a relative symlink

Peter Korsgaard peter at korsgaard.com
Thu Aug 23 19:17:40 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=9090ea58b6a52f98edad5a123ae86b7487fd6d34
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.02.x

Fixes:
  http://autobuild.buildroot.net/results/bf3937882023df7ed319dc76f1af10f79785112f/

Signed-off-by: Carlos Santos <casantos at datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit d4b5a92c53f08b3afad4255b663ac292605d5aa8)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/gawk/gawk.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk
index a3a2927373..823aa2749f 100644
--- a/package/gawk/gawk.mk
+++ b/package/gawk/gawk.mk
@@ -39,7 +39,7 @@ endif
 HOST_GAWK_CONF_OPTS = --without-readline --without-mpfr
 
 define GAWK_CREATE_SYMLINK
-	ln -sf /usr/bin/gawk $(TARGET_DIR)/usr/bin/awk
+	ln -sf gawk $(TARGET_DIR)/usr/bin/awk
 endef
 
 GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK


More information about the buildroot mailing list