diff --git a/packaging/win32/daily_build_git.sh b/packaging/win32/daily_build_git.sh index 1fe585a08f..38aed10dc4 100644 --- a/packaging/win32/daily_build_git.sh +++ b/packaging/win32/daily_build_git.sh @@ -43,7 +43,7 @@ else fi newrev=$($GIT_CMD rev-parse HEAD) -if [[ "${oldrev}" != "${oldrev}" ]]; then +if [[ "${oldrev}" != "${newrev}" ]]; then ./build_package_git.sh fi diff --git a/packaging/win32/weekly_build_git.sh b/packaging/win32/weekly_build_git.sh index 368a0a21f9..b3aef2d376 100644 --- a/packaging/win32/weekly_build_git.sh +++ b/packaging/win32/weekly_build_git.sh @@ -46,7 +46,7 @@ else fi newrev=$($GIT_CMD rev-parse HEAD) -if [[ "${oldrev}" != "${oldrev}" ]]; then +if [[ "${oldrev}" != "${newrev}" ]]; then ./build_package_git.sh fi