Unverified Commit 91186508 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

Download script: force git checkout

The download script can be used to update dependencies source code by
pull the new version and performing a checkout to that version.
Without forcing (-f) the checkout files that have been modified or
patched won't be updated correctly.
parent 9ddbb809
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ clonedeps() {
        cd ${SOURCE} && ${CLONE} &>> ${LOG}
    fi
    # fix the version
    cd ${SOURCE}/${FOLDER} && git checkout ${COMMIT} &>> ${LOG}
    cd ${SOURCE}/${FOLDER} && git checkout -f ${COMMIT} &>> ${LOG}
    echo "Done"
}