Skip to content
Snippets Groups Projects
Commit d21217c3 authored by Oriol Tintó Prims's avatar Oriol Tintó Prims
Browse files

Add depth 1

parent 838614db
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ mkdir -p ${INSTALLDIR}
switch2build
TAG_NAME=v${VERSION}
git clone ${REPOSITORY} -b ${TAG_NAME} source
git clone ${REPOSITORY} -b ${TAG_NAME} source --depth 1
cd source
......
......@@ -21,7 +21,7 @@ REPOSITORY=https://github.com/HDFGroup/hdf5.git
switch2build
# extract tar file
git clone ${REPOSITORY} -b ${TAG_NAME} source
git clone ${REPOSITORY} -b ${TAG_NAME} source --depth 1
# enter the folder
cd source
......
......@@ -31,7 +31,7 @@ source venv/bin/activate
if [ ! -d source ]; then
# Clone repository and enter directory
git clone ${REPOSITORY} -b ${VERSION} source
git clone ${REPOSITORY} -b ${VERSION} source --depth 1
fi
cd source
......
......@@ -16,7 +16,7 @@ mkdir -p ${INSTALLDIR}
switch2build
# Clone repository and enter directory
git clone ${REPOSITORY} -b ${VERSION} source
git clone ${REPOSITORY} -b ${VERSION} source --depth 1
cd source
......
......@@ -18,7 +18,7 @@ switch2build
# Clone repository and enter directory
TAG_NAME=v${VERSION}
git clone ${REPOSITORY} -b ${TAG_NAME} source
git clone ${REPOSITORY} -b ${TAG_NAME} source --depth 1
cd source
......
......@@ -17,7 +17,7 @@ mkdir -p ${INSTALLDIR}
switch2build
# Clone repository and enter directory
git clone ${REPOSITORY} -b ${VERSION} source
git clone ${REPOSITORY} -b ${VERSION} source --depth 1
cd source
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment