ENH: Added -files to end of internal binary tarball to distinguish from the outer tarball's name.
This commit is contained in:
parent
2353f5e787
commit
33ed97c401
|
@ -48,11 +48,12 @@ EOF
|
||||||
CreatePackage
|
CreatePackage
|
||||||
|
|
||||||
# Create the release tarballs.
|
# Create the release tarballs.
|
||||||
echo "Creating cmake-$VERSION-$PLATFORM.tar"
|
INTERNAL_NAME="cmake-$VERSION-$PLATFORM-files"
|
||||||
|
echo "Creating ${INTERNAL_NAME}.tar"
|
||||||
cd ${INSTALL_DIR}${PREFIX}
|
cd ${INSTALL_DIR}${PREFIX}
|
||||||
if ${TAR} cvf ${INSTALL_DIR}/cmake-$VERSION-$PLATFORM.tar ${INSTALL_SUBDIRS} \
|
if ${TAR} cvf ${INSTALL_DIR}/${INTERNAL_NAME}.tar ${INSTALL_SUBDIRS} \
|
||||||
> ${LOG_DIR}/cmake-$VERSION-$PLATFORM.log 2>&1 ; then : ; else
|
> ${LOG_DIR}/${INTERNAL_NAME}.log 2>&1 ; then : ; else
|
||||||
echo "Error, see ${LOG_DIR}/cmake-$VERSION-$PLATFORM.log"
|
echo "Error, see ${LOG_DIR}/${INTERNAL_NAME}.log"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -61,7 +62,7 @@ cd ${INSTALL_DIR}
|
||||||
${CAT} >> README <<EOF
|
${CAT} >> README <<EOF
|
||||||
CMake $VERSION binary for $PLATFORM
|
CMake $VERSION binary for $PLATFORM
|
||||||
|
|
||||||
Extract the file "cmake-$VERSION-$PLATFORM.tar" into your
|
Extract the file "${INTERNAL_NAME}.tar" into your
|
||||||
destination directory. The following files will be extracted:
|
destination directory. The following files will be extracted:
|
||||||
|
|
||||||
${FILES}
|
${FILES}
|
||||||
|
@ -70,7 +71,7 @@ EOF
|
||||||
|
|
||||||
TARBALL="${TARBALL_DIR}/CMake$VERSION-$PLATFORM.tar"
|
TARBALL="${TARBALL_DIR}/CMake$VERSION-$PLATFORM.tar"
|
||||||
echo "Creating CMake$VERSION-$PLATFORM.tar"
|
echo "Creating CMake$VERSION-$PLATFORM.tar"
|
||||||
if ${TAR} cvf $TARBALL README cmake-$VERSION-$PLATFORM.tar \
|
if ${TAR} cvf $TARBALL README ${INTERNAL_NAME}.tar \
|
||||||
> ${LOG_DIR}/CMake$VERSION-$PLATFORM.log 2>&1 ; then : ; else
|
> ${LOG_DIR}/CMake$VERSION-$PLATFORM.log 2>&1 ; then : ; else
|
||||||
"Error, see ${LOG_DIR}/CMake$VERSION-$PLATFORM.log"
|
"Error, see ${LOG_DIR}/CMake$VERSION-$PLATFORM.log"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue