[development] version = "$Name$" considered harmful in .info files

Khalid Baheyeldin kb at 2bits.com
Thu Jun 14 00:26:01 UTC 2007


>
> I can do the script, but someone else has to run it since I don't
> have access to commit them all.


Here it is dww, enjoy ...

#!/bin/sh
for FILE in `find . -name "*.info"`
do
  ORIG=$FILE.orig
  cp $FILE $ORIG
  cat $ORIG | grep -v "version.*=" > $FILE
  rm $ORIG
done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070613/ba1edae3/attachment.htm 


More information about the development mailing list