From 993ac4600ab8c0a893ee744713a71a312f63de62 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Sun, 2 Dec 2012 15:15:07 +0000
Subject: [PATCH] rules.mk: don't use $(realpath) in file_copy, the destination
 directory might not exist yet - spotted while doing a fresh build

SVN-Revision: 34447
---
 rules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules.mk b/rules.mk
index 7139f79ef87..1ded3ba8551 100644
--- a/rules.mk
+++ b/rules.mk
@@ -302,7 +302,7 @@ define file_copy
 				rm -f "$$FILE"; \
 			done; ); \
 	done; \
-	$(CP) $(1) $(realpath $(2)/)/
+	$(CP) $(1) $(2)
 endef
 
 # file extension