From b00ee94225da82d33eaa9296d75085a4b11b7580 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 28 Dec 2017 08:04:15 +0100 Subject: [PATCH] fix react src folder copy to dist --- buildozer/targets/android.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 5c7892e..1c81639 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -906,8 +906,7 @@ class TargetAndroid(Target): "Copy react files {}".format(react_dir)) for pattern in react_src: for fn in glob(expanduser(pattern.strip())): - last_component = basename(fn) - self.buildozer.file_copytree(fn, join(react_dir, last_component)) + self.buildozer.file_copytree(fn, react_dir) @property def serials(self):