From: Tony Finch Date: Mon, 28 Jul 2008 18:24:13 +0000 (+0000) Subject: Apply the look_for_it magic to chmod. (bug#602) X-Git-Tag: DEVEL_PDKIM_START~29 X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/0d215e65b5d79a36827e9d0ca57232cad8004d4d?ds=sidebyside Apply the look_for_it magic to chmod. (bug#602) --- diff --git a/src/src/exicyclog.src b/src/src/exicyclog.src index 56e3b6644..f10446339 100644 --- a/src/src/exicyclog.src +++ b/src/src/exicyclog.src @@ -1,5 +1,5 @@ #! /bin/sh -# $Cambridge: exim/src/src/exicyclog.src,v 1.7 2008/02/06 12:35:03 nm4 Exp $ +# $Cambridge: exim/src/src/exicyclog.src,v 1.8 2008/07/28 18:24:13 fanf2 Exp $ # Copyright (c) 2006 University of Cambridge. # See the file NOTICE for conditions of use and distribution. @@ -84,7 +84,7 @@ done # in different places. We have a fudge that will search the usual suspects if # requested. -for cmd in chown chgrp mv rm ; do +for cmd in chown chgrp chmod mv rm ; do eval "oldcmd=\$$cmd" if [ "$oldcmd" != "look_for_it" ] ; then continue ; fi newcmd=$cmd