diff options
Diffstat (limited to 'overlays/patches/emacs/overlay/update')
-rwxr-xr-x | overlays/patches/emacs/overlay/update | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/overlays/patches/emacs/overlay/update b/overlays/patches/emacs/overlay/update new file mode 100755 index 000000000000..39aa0cd5847a --- /dev/null +++ b/overlays/patches/emacs/overlay/update @@ -0,0 +1,8 @@ +#!/usr/bin/env nix-shell +#! nix-shell -i bash -p bash git + +for repo in repos/*; do + $repo/update && (git diff --exit-code $repo > /dev/null || git commit -m "Updated $repo" -- $repo) +done + +exit 0 |