nixos-rebuild: remove accidentally lost check

We should not set version to .git. when we don't know the commit.
This commit is contained in:
K900
2024-09-29 12:15:23 +03:00
parent 563442579f
commit 2f204572c6

View File

@@ -564,7 +564,9 @@ getVersion() {
fi
fi
echo ".git.$rev"
if [ -n "$rev" ]; then
echo ".git.$rev"
fi
}