summaryrefslogtreecommitdiff
path: root/admin/update-copyright
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-09-20 10:27:10 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-09-20 10:34:13 +0200
commit98a89dd0fa340e852f7a5633d2d68885c0e52219 (patch)
tree89475d8036490ee63ed2a45298e816bc3fe389be /admin/update-copyright
parent9035c20888736180f58becb5dedd3957470b5476 (diff)
downloademacs-98a89dd0fa340e852f7a5633d2d68885c0e52219.tar.gz
emacs-98a89dd0fa340e852f7a5633d2d68885c0e52219.tar.bz2
emacs-98a89dd0fa340e852f7a5633d2d68885c0e52219.zip
Use "set -o nounset" in bash scripts
* admin/automerge: * admin/make-manuals: * admin/update-copyright: * admin/update_autogen: * admin/upload-manuals: Use "set -o nounset".
Diffstat (limited to 'admin/update-copyright')
-rwxr-xr-xadmin/update-copyright2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/update-copyright b/admin/update-copyright
index 5a04847a661..8b7c05749d0 100755
--- a/admin/update-copyright
+++ b/admin/update-copyright
@@ -31,6 +31,8 @@
# updated and some should not be, due to registration numbers, so
# this script leaves these copyright years alone for now.
+set -o nounset
+
: ${UPDATE_COPYRIGHT_USE_INTERVALS=1}
export UPDATE_COPYRIGHT_USE_INTERVALS