aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorStefan Kangas2021-11-08 09:44:09 +0100
committerStefan Kangas2021-11-08 09:55:22 +0100
commit990aad47bd1344fe7fabf8e202005cc63a4b4636 (patch)
tree49d58f2c4f671c81270983dfd2b8453ed5247870 /admin
parent2b7a0397e154cbce45e3b1e5275ebc4b4497913d (diff)
downloademacs-990aad47bd1344fe7fabf8e202005cc63a4b4636.tar.gz
emacs-990aad47bd1344fe7fabf8e202005cc63a4b4636.zip
* admin/automerge: Die if changing directory fails.
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/automerge3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/automerge b/admin/automerge
index 61570587d6b..d54f6cb4ac6 100755
--- a/admin/automerge
+++ b/admin/automerge
@@ -108,7 +108,8 @@ OPTIND=1
108 108
109 109
110[ "$nocd" ] || { 110[ "$nocd" ] || {
111 cd $PD # this should be the admin directory 111 # $PD should be the admin directory
112 cd $PD || die "Could not change directory to $PD"
112 cd ../ 113 cd ../
113} 114}
114 115