We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61a1fd commit f9c031dCopy full SHA for f9c031d
.travis/build.sh
@@ -343,9 +343,9 @@ if [ ! -z "$PREBUILT_DIR" ]; then
343
LATEST="$(ls ../../archive/master/ | tail -n 1)"
344
HDMI2USB_FIRMWARE="../../archive/master/$LATEST/$PLATFORM/hdmi2usb/lm32"
345
echo "Checking for '$HDMI2USB_FIRMWARE'"
346
- if [ -d "$HDMI2USB_FIRMWARE" ]; then
+ if [ -d "$HDMI2USB_FIRMWARE" -a "$(readlink unstable)" != "$HDMI2USB_FIRMWARE" ]; then
347
echo "Changing $PLATFORM from '$(readlink unstable)' to '$HDMI2USB_FIRMWARE'"
348
- ln -sf "$HDMI2USB_FIRMWARE" unstable
+ ln -sfT "$HDMI2USB_FIRMWARE" unstable
349
git add unstable
350
git commit -a \
351
-m "Updating unstable link (Travis build #$TRAVIS_BUILD_NUMBER of $GIT_REVISION for PLATFORM=$PLATFORM TARGET=$TARGET CPU=$CPU)" \
0 commit comments