This directory was not a git repo, so git clean kept failing

This commit is contained in:
risk danger olson 2016-07-27 07:49:05 -06:00
parent 95d6745125
commit 69d38ef045

@ -161,10 +161,6 @@ pushd ${CURDIR}/..
#I started running out of space in the docker, so I needed to copy a little less waste
tar -c . --exclude tmptar --exclude repos | tar -x -C ${CURDIR}/tmptar/git-lfs-${LFS_VERSION}/
popd
pushd ${CURDIR}/tmptar/git-lfs-${LFS_VERSION}
git clean -xdf
rm -rvf .git
popd
pushd ${CURDIR}/tmptar
tar -zcf ${CURDIR}/SOURCES/git-lfs-${LFS_VERSION}.tar.gz git-lfs-${LFS_VERSION}
popd