BUG: Creating source tarball should not affect current directory.
This commit is contained in:
parent
9ac4d6e83a
commit
7ee50e7ee5
|
@ -33,6 +33,8 @@ fi
|
||||||
|
|
||||||
# Make the source tarball if requested.
|
# Make the source tarball if requested.
|
||||||
if test "${CREATE_SOURCE_TARBALL}" = "yes" ; then
|
if test "${CREATE_SOURCE_TARBALL}" = "yes" ; then
|
||||||
|
(
|
||||||
|
cd ${RELEASE_ROOT}
|
||||||
TARBALL="${TARBALL_DIR}/${SOURCE_TARBALL_NAME}.tar"
|
TARBALL="${TARBALL_DIR}/${SOURCE_TARBALL_NAME}.tar"
|
||||||
echo "Creating ${SOURCE_TARBALL_NAME}.tar"
|
echo "Creating ${SOURCE_TARBALL_NAME}.tar"
|
||||||
if ${TAR} cvf $TARBALL CMake-$VERSION \
|
if ${TAR} cvf $TARBALL CMake-$VERSION \
|
||||||
|
@ -48,9 +50,11 @@ if test "${CREATE_SOURCE_TARBALL}" = "yes" ; then
|
||||||
echo "Creating $TARBALL.Z"
|
echo "Creating $TARBALL.Z"
|
||||||
${COMPRESS} $TARBALL
|
${COMPRESS} $TARBALL
|
||||||
fi
|
fi
|
||||||
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Let the configuration file add some files.
|
# Let the configuration file add some files.
|
||||||
|
cd ${BUILD_DIR}
|
||||||
CreateExtraFiles
|
CreateExtraFiles
|
||||||
|
|
||||||
# Create the manifest file.
|
# Create the manifest file.
|
||||||
|
|
Loading…
Reference in New Issue