There was an error while loading. Please reload this page.
1 parent cffaac2 commit bad24f3Copy full SHA for bad24f3
1 file changed
scripts/source_sync_6.x.sh
@@ -318,11 +318,11 @@ for ((i=0; i < NSOURCES; i++)); do
318
DNLOAD=$(echo "${SOURCE_INFO_PROCESSED[i]}" | cut -f 5 -d ':')
319
320
if [ $DALL -eq 1 -o "x${DNLOAD}" == "xy" ]; then
321
- if ! DownloadAndSync "$WHAT" "${LDK_DIR}/${WHAT}" "https://${REPO}" "${TAG}" "${OPT}"; then
322
- if [[ $? == 1 ]]; then
323
- echo "Trying git protocol"
324
- DownloadAndSync "$WHAT" "${LDK_DIR}/${WHAT}" "git://${REPO}" "${TAG}" "${OPT}"
325
- fi
+ DownloadAndSync "$WHAT" "${LDK_DIR}/${WHAT}" "git://${REPO}" "${TAG}" "${OPT}"
+ tRET=$?
+ let GRET=GRET+tRET
+ if [ $tRET -ne 0 -a $EOE -eq 1 ]; then
+ exit $tRET
326
fi
327
328
done
0 commit comments