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