mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
linux-libre.updateScript: fix git commit
With nothing staged and no paths given, previously this wouldn't actually do anything.
This commit is contained in:
parent
345f6712e3
commit
1d51514ab2
@ -27,6 +27,7 @@ sed -i -e "s/rev = \".*\"/rev = \"$rev\"/" \
|
||||
-e "s/sha256 = \".*\"/sha256 = \"$sha256\"/" "$path"
|
||||
|
||||
if [ -n "${COMMIT-}" ]; then
|
||||
git commit -qm "linux_latest-libre: $old_rev -> $rev" "$path"
|
||||
git commit -qm "linux_latest-libre: $old_rev -> $rev" "$path" \
|
||||
$nixpkgs/pkgs/os-specific/linux/kernel/linux-libre.nix
|
||||
echo "Updated linux_latest-libre $old_rev -> $rev"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user