build.sh: .svn to .git

This commit is contained in:
Max Kellermann 2018-10-22 22:54:41 +02:00
parent ed5a146f31
commit de47d85298

View File

@ -173,7 +173,7 @@ fi
components=`echo "${components}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'` components=`echo "${components}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
# Don't build in source directory, it will clobber things and cleanup is hard. # Don't build in source directory, it will clobber things and cleanup is hard.
if [ -d ${BUILD_DIR}/.svn ]; then if [ -d ${BUILD_DIR}/.git ]; then
echo "Don't build in a source directory, please create an empty directory and build there." echo "Don't build in a source directory, please create an empty directory and build there."
echo "Example :" echo "Example :"
echo " mkdir /tmp/cegcc-output" echo " mkdir /tmp/cegcc-output"