mirror of
https://github.com/libretro/libretro-super
synced 2025-01-01 09:00:08 +00:00
clean before pulling
This commit is contained in:
parent
66fbacd25f
commit
7269158310
@ -750,6 +750,9 @@ while read line; do
|
|||||||
BUILD="YES"
|
BUILD="YES"
|
||||||
else
|
else
|
||||||
cd $DIR
|
cd $DIR
|
||||||
|
echo "resetting repo state... "
|
||||||
|
git clean -xdf
|
||||||
|
git reset --hard
|
||||||
echo "pulling changes from repo... "
|
echo "pulling changes from repo... "
|
||||||
OUT=`git pull`
|
OUT=`git pull`
|
||||||
|
|
||||||
@ -858,6 +861,9 @@ while read line; do
|
|||||||
if [ -d "${DIR}/.git" ]; then
|
if [ -d "${DIR}/.git" ]; then
|
||||||
|
|
||||||
cd $DIR
|
cd $DIR
|
||||||
|
echo "resetting repo state... "
|
||||||
|
git clean -xdf
|
||||||
|
git reset --hard
|
||||||
echo "pulling changes from repo... "
|
echo "pulling changes from repo... "
|
||||||
OUT=`git pull`
|
OUT=`git pull`
|
||||||
|
|
||||||
@ -880,6 +886,9 @@ while read line; do
|
|||||||
if [ -d "${DIR}/.git" ]; then
|
if [ -d "${DIR}/.git" ]; then
|
||||||
|
|
||||||
cd $DIR
|
cd $DIR
|
||||||
|
echo "resetting repo state... "
|
||||||
|
git clean -xdf
|
||||||
|
git reset --hard
|
||||||
echo "pulling changes from repo... "
|
echo "pulling changes from repo... "
|
||||||
OUT=`git pull`
|
OUT=`git pull`
|
||||||
|
|
||||||
@ -991,8 +1000,10 @@ buildbot_pull(){
|
|||||||
if [ -d "${PARENTDIR}/${DIR}/.git" ]; then
|
if [ -d "${PARENTDIR}/${DIR}/.git" ]; then
|
||||||
cd $PARENTDIR
|
cd $PARENTDIR
|
||||||
cd $DIR
|
cd $DIR
|
||||||
echo "pulling changes from repo... "
|
echo "resetting repo state... "
|
||||||
|
git clean -xdf
|
||||||
git reset --hard
|
git reset --hard
|
||||||
|
echo "pulling changes from repo... "
|
||||||
OUT=`git pull`
|
OUT=`git pull`
|
||||||
echo $OUT
|
echo $OUT
|
||||||
if [ "${TYPE}" = "PROJECT" ]; then
|
if [ "${TYPE}" = "PROJECT" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user