This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new aa38c44b3 testing/unity: adjust unity download pack to 'Unity'
aa38c44b3 is described below

commit aa38c44b3b6c4f794f4f795036b24c682f70eb8a
Author: haopengxiang <[email protected]>
AuthorDate: Wed Feb 1 12:13:08 2023 +0800

    testing/unity: adjust unity download pack to 'Unity'
    
    Signed-off-by: haopengxiang <[email protected]>
---
 testing/unity/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testing/unity/Makefile b/testing/unity/Makefile
index c7db299ce..88442becd 100644
--- a/testing/unity/Makefile
+++ b/testing/unity/Makefile
@@ -32,7 +32,7 @@ UNITY_VERSION = $(patsubst "%",%,$(strip 
$(CONFIG_TESTING_UNITY_VERSION)))
 
 UNITY_TARBALL = v$(UNITY_VERSION).tar.gz
 
-UNITY_UNPACKNAME = Unity-$(UNITY_VERSION)
+UNITY_UNPACKNAME = Unity
 UNPACK ?= tar -zxf
 
 UNITY_UNPACKDIR =  $(WD)/$(UNITY_UNPACKNAME)
@@ -55,6 +55,7 @@ $(UNITY_TARBALL):
 $(UNITY_UNPACKNAME): $(UNITY_TARBALL)
        @echo "Unpacking: $(UNITY_TARBALL) -> $(UNITY_UNPACKNAME)"
        $(Q) $(UNPACK) $(UNITY_TARBALL)
+       $(Q) mv Unity-$(UNITY_VERSION) $(UNITY_UNPACKNAME)
        $(Q) touch $(UNITY_UNPACKNAME)
 endif
 

Reply via email to