From 6b356ee89a985db74642e3cbc833da104ec82998 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 3 Nov 1994 20:24:53 +0000 Subject: [PATCH] Don't rm files if cd fails. --- Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7061601a3f4..bd2a9268cbe 100644 --- a/Makefile.in +++ b/Makefile.in @@ -389,9 +389,9 @@ uninstall: esac ; \ fi ; \ done - (cd ${infodir}; rm -f cl* emacs* forms* info* vip*) - (cd ${mandir}; rm -f emacs.1 etags.1 ctags.1) - (cd ${bindir}; rm -f emacs-${version} $(EMACS)) + (cd ${infodir} && rm -f cl* emacs* forms* info* vip*) + (cd ${mandir} && rm -f emacs.1 etags.1 ctags.1) + (cd ${bindir} && rm -f emacs-${version} $(EMACS)) FRC: @@ -436,7 +436,7 @@ clean: FRC top_distclean=\ rm -f config.status ; \ rm -f Makefile ${SUBDIR_MAKEFILES} ; \ - (cd lock ; rm -f *) + (cd lock && rm -f *) distclean: FRC (cd src; $(MAKE) $(MFLAGS) distclean) (cd oldXMenu; $(MAKE) $(MFLAGS) distclean) @@ -471,7 +471,7 @@ realclean: FRC ### it deletes backup and autosave files too. extraclean: for i in ${SUBDIR}; do (cd $$i; $(MAKE) $(MFLAGS) extraclean); done - -(cd lock; rm *) + -(cd lock && rm *) -rm config.status config-tmp-* -rm -f *~ \#* -- 2.39.5