Check if repository is up to date before link scripts.