Skip to content

Commit 0655de1

Browse files
committedJul 22, 2017
travis: Fixing link path & git calls.
1 parent 55458d2 commit 0655de1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎.travis/build.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ if [ ! -z "$PREBUILT_DIR" ]; then
341341
fi
342342
cd $PLATFORM/firmware
343343
LATEST="$(ls ../../archive/master/ | tail -n 1)"
344-
HDMI2USB_FIRMWARE="$LATEST/$PLATFORM/hdmi2usb/lm32"
344+
HDMI2USB_FIRMWARE="../../archive/master/$LATEST/$PLATFORM/hdmi2usb/lm32"
345345
echo "Checking for '$HDMI2USB_FIRMWARE'"
346346
if [ -d "$HDMI2USB_FIRMWARE" ]; then
347347
echo "Changing $PLATFORM from '$(readlink unstable)' to '$HDMI2USB_FIRMWARE'"
@@ -361,13 +361,12 @@ if [ ! -z "$PREBUILT_DIR" ]; then
361361
echo
362362
echo "Merging (Try $i)"
363363
echo "---------------------------------------------"
364-
git diff --stat origin/master && break
365364
git fetch
366365
git merge origin/master -m "Merging #$TRAVIS_JOB_NUMBER of $GIT_REVISION"
367366
echo
368367
echo "Changes to be pushed (Try $i)"
369368
echo "---------------------------------------------"
370-
git diff origin/master --stat=1000,1000
369+
git diff origin/master --stat=1000,1000 && break
371370
echo
372371
echo "Pushing (Try $i)"
373372
echo "---------------------------------------------"

0 commit comments

Comments
 (0)
Please sign in to comment.