diff options
author | Brad King <brad.king@kitware.com> | 2002-08-21 19:52:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-08-21 19:52:04 (GMT) |
commit | 33ed97c4019547cd6ce6c32058980705ea0d4ac4 (patch) | |
tree | b5764fe680352f47120f789d2180ca47ffc122a7 | |
parent | 2353f5e7875a8cbbba9b90bf94a40abce7476f75 (diff) | |
download | CMake-33ed97c4019547cd6ce6c32058980705ea0d4ac4.zip CMake-33ed97c4019547cd6ce6c32058980705ea0d4ac4.tar.gz CMake-33ed97c4019547cd6ce6c32058980705ea0d4ac4.tar.bz2 |
ENH: Added -files to end of internal binary tarball to distinguish from the outer tarball's name.
-rwxr-xr-x | Utilities/cmake_release_unix_package.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Utilities/cmake_release_unix_package.sh b/Utilities/cmake_release_unix_package.sh index 1c172dc..1ee9b0d 100755 --- a/Utilities/cmake_release_unix_package.sh +++ b/Utilities/cmake_release_unix_package.sh @@ -48,11 +48,12 @@ EOF CreatePackage # 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} -if ${TAR} cvf ${INSTALL_DIR}/cmake-$VERSION-$PLATFORM.tar ${INSTALL_SUBDIRS} \ - > ${LOG_DIR}/cmake-$VERSION-$PLATFORM.log 2>&1 ; then : ; else - echo "Error, see ${LOG_DIR}/cmake-$VERSION-$PLATFORM.log" +if ${TAR} cvf ${INSTALL_DIR}/${INTERNAL_NAME}.tar ${INSTALL_SUBDIRS} \ + > ${LOG_DIR}/${INTERNAL_NAME}.log 2>&1 ; then : ; else + echo "Error, see ${LOG_DIR}/${INTERNAL_NAME}.log" exit 1 fi @@ -61,7 +62,7 @@ cd ${INSTALL_DIR} ${CAT} >> README <<EOF 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: ${FILES} @@ -70,7 +71,7 @@ EOF TARBALL="${TARBALL_DIR}/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 "Error, see ${LOG_DIR}/CMake$VERSION-$PLATFORM.log" exit 1 |