You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/06/23 07:49:42 UTC

[incubator-nuttx] 02/04: tools/zipme.sh: Don't move the directory to nuttx/Documentation

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

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

commit 9bf4b55073a717be2d592c071d926b954c2a32d2
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Jun 23 06:35:44 2020 +0800

    tools/zipme.sh: Don't move the directory to nuttx/Documentation
    
    and remove the redundancy of "cd ${TRUNKDIR}"
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 tools/zipme.sh | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/tools/zipme.sh b/tools/zipme.sh
index 3e2728a..f7863c1 100644
--- a/tools/zipme.sh
+++ b/tools/zipme.sh
@@ -184,9 +184,6 @@ fi
 
 # Perform a full clean for the distribution
 
-cd ${TRUNKDIR} || \
-   { echo "Failed to cd to ${TRUNKDIR}" ; exit 1 ; }
-
 echo "Cleaning the repositories"
 
 if [ $verbose != 0 ] ; then
@@ -197,11 +194,6 @@ fi
 
 # Prepare the nuttx directory
 
-# Make sure that versioned copies of certain files are in place
-
-cd ${NUTTXDIR}/Documentation || \
-   { echo "Failed to cd to ${NUTTXDIR}/Documentation" ; exit 1 ; }
-
 # Write a version file into the NuttX directory.  The syntax of file is such that it
 # may be sourced by a bash script or included by a Makefile.