On Mon 2008-01-07 06:05:51 -0500, Jeff King wrote: > Line 107 uses '==', which is a bash-ism, breaking the script for dash > users. It can be replaced with the POSIX '='. Patch is below. > > --- dnscache.orig 2008-01-07 06:05:12.000000000 -0500 > +++ dnscache 2008-01-07 05:56:02.000000000 -0500 > @@ -104,7 +104,7 @@ > for CACHE in $CACHES ; do > cp "$TMPFILE" "$CACHE/root/servers/@" > # Restart the cache if it's already running: > - if [ `dirname "$CACHE"`x == '/var/servicex' ]; then > + if [ `dirname "$CACHE"`x = '/var/servicex' ]; then > # this is managed by runit > [ "$SV_CMD" ] && "$SV_CMD" t "$CACHE" > else
Thanks for the report, Jeff. i've confirmed that this is a valid fix. We're in the middle of preparing resolvconf 1.38, so i'm not sure if it'll make it into 1.38 or 1.39, but it'll be incorporated soon. resolvconf devs: i'm happy to commit this before 1.38 goes out, if other folks are OK with it and the other 1.38 hasn't been published yet. Any objections? Are we far enough along in the 1.38 publication that i should make this change for 1.39 instead? regards, --dkg
pgpJ9eGAGYLaR.pgp
Description: PGP signature