mirror of
https://github.com/nix-community/emacs-overlay.git
synced 2025-12-06 02:40:25 -08:00
14 lines
229 B
Text
Executable file
14 lines
229 B
Text
Executable file
#!/usr/bin/env nix-shell
|
|
#! nix-shell -i bash -p bash git
|
|
|
|
set -euo pipefail
|
|
|
|
repo="$1"
|
|
|
|
"repos/$repo/update"
|
|
|
|
if git diff --exit-code "repos/$repo" > /dev/null; then
|
|
exit 0
|
|
fi
|
|
|
|
git commit -m "Updated $repo" -- "repos/$repo"
|