amazon-ssm-agent: Move source to GOPATH

Message ID 20200113210638.5258-1-michael.tremer@ipfire.org
State Accepted
Commit aab6ec606a068f153e1a8cd5920d5c411e018639
Headers
Series amazon-ssm-agent: Move source to GOPATH |

Commit Message

Michael Tremer Jan. 13, 2020, 9:06 p.m. UTC
  Go won't build when this is only symlinked any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/amazon-ssm-agent | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/lfs/amazon-ssm-agent b/lfs/amazon-ssm-agent
index b477690a4..a41dc08bb 100644
--- a/lfs/amazon-ssm-agent
+++ b/lfs/amazon-ssm-agent
@@ -83,7 +83,7 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
 	# The build system is searching for code in a certain path
 	mkdir -pv $$(dirname $(DIR_BUILD))
-	ln -svf --relative $(DIR_APP) $(DIR_BUILD)
+	mv -v $(DIR_APP) $(DIR_BUILD)
 
 	# Disable style check
 	cd $(DIR_BUILD) && sed -e "/checkstyle.sh/d" -i makefile