mirror of
https://github.com/status-im/nimbus-build-system-desktop.git
synced 2025-02-20 01:08:29 +00:00
fix logical error
This commit is contained in:
parent
5cb392ec56
commit
351b68fd94
@ -56,7 +56,7 @@ nim_needs_rebuilding() {
|
||||
fi
|
||||
|
||||
# compare the built commit's timestamp to the date of the last commit (keep in mind that Git doesn't preserve file timestamps)
|
||||
if [[ -e "${NIM_DIR}/bin/timestamp" && $(cat "${NIM_DIR}/bin/timestamp") -ne $(cd "$NIM_DIR"; git log --pretty=format:%cd -n 1 --date=unix) ]]; then
|
||||
if [[ -e "${NIM_DIR}/bin/timestamp" && $(cat "${NIM_DIR}/bin/timestamp") -eq $(cd "$NIM_DIR"; git log --pretty=format:%cd -n 1 --date=unix) ]]; then
|
||||
return $NO_REBUILD
|
||||
else
|
||||
return $REBUILD
|
||||
|
Loading…
x
Reference in New Issue
Block a user