tools/zipme.sh: Don't move the directory to nuttx/Documentation

and remove the redundancy of "cd ${TRUNKDIR}"

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-06-23 06:35:44 +08:00 committed by Brennan Ashton
parent 062373af20
commit 9bf4b55073

View File

@ -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.