From: Stefan Kangas Date: Mon, 8 Nov 2021 08:44:09 +0000 (+0100) Subject: * admin/automerge: Die if changing directory fails. X-Git-Tag: emacs-29.0.90~3671^2~71 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=990aad47bd1344fe7fabf8e202005cc63a4b4636;p=emacs.git * admin/automerge: Die if changing directory fails. --- diff --git a/admin/automerge b/admin/automerge index 61570587d6b..d54f6cb4ac6 100755 --- a/admin/automerge +++ b/admin/automerge @@ -108,7 +108,8 @@ OPTIND=1 [ "$nocd" ] || { - cd $PD # this should be the admin directory + # $PD should be the admin directory + cd $PD || die "Could not change directory to $PD" cd ../ }