mirror of
https://github.com/libretro/libretro-super
synced 2025-02-05 00:40:11 +00:00
libretro-buildbot-recipe.sh: Only clean the correct git directory.
This commit is contained in:
parent
be925301fd
commit
87e6b2963b
@ -663,12 +663,8 @@ while read line; do
|
|||||||
LEIRADEL ) build_libretro_leiradel_makefile $NAME $DIR $SUBDIR $MAKEFILE ${PLATFORM} "${ARGS}" ;;
|
LEIRADEL ) build_libretro_leiradel_makefile $NAME $DIR $SUBDIR $MAKEFILE ${PLATFORM} "${ARGS}" ;;
|
||||||
* ) : ;;
|
* ) : ;;
|
||||||
esac
|
esac
|
||||||
BUILD_DIR="${BASE_DIR}/${DIR}"
|
echo "Cleaning repo state after build $URL..."
|
||||||
[ "${SUBDIR}" != . ] && BUILD_DIR="${BUILD_DIR}/${SUBDIR}"
|
git --work-tree="${BASE_DIR}/${DIR}" --git-dir="${BASE_DIR}/${DIR}/.git" clean -xdf
|
||||||
if [ "$(realpath .)" = "${BUILD_DIR}" ]; then
|
|
||||||
echo "Cleaning repo state after build $URL..."
|
|
||||||
git clean -xdf
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
echo "buildbot job: building $NAME up-to-date"
|
echo "buildbot job: building $NAME up-to-date"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user