]> granicus.if.org Git - mutt/commitdiff
Makefile.am fix for unstable.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 6 Oct 1999 20:20:54 +0000 (20:20 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 6 Oct 1999 20:20:54 +0000 (20:20 +0000)
Makefile.am

index 4f1a6d4df9379eb700c3d20797ff95de7c07e5e7..657e36f478adae8955c576f1de2717bcb24fa766 100644 (file)
@@ -1,5 +1,3 @@
-# $Id$
-
 ## Process this file with automake to produce Makefile.in
 ## Use aclocal -I m4; automake --foreign
 
@@ -100,9 +98,10 @@ install-exec-local:
                rm -f $(DESTDIR)$(bindir)/mutt.dotlock ;                \
                ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
        fi
-       if test -f $(bindir)/mutt_dotlock && test x@DOTLOCK_GROUP@ != x ; then \
-               chgrp @DOTLOCK_GROUP@ $(DESTDIR)$(bindir)/mutt_dotlock ; \
-               chmod @DOTLOCK_PERMISSION@  $(DESTDIR)$(bindir)/mutt_dotlock ; \
+       if test -f $(DESTDIR)$(bindir)/mutt_dotlock && test x@DOTLOCK_GROUP@ != x ; then \
+               chgrp @DOTLOCK_GROUP@ $(DESTDIR)$(bindir)/mutt_dotlock && \
+               chmod @DOTLOCK_PERMISSION@ $(DESTDIR)$(bindir)/mutt_dotlock || \
+               { echo "Can't fix mutt_dotlock's permissions!" >&2 ; exit 1 ; } \
        fi
 
 install-data-local: Muttrc