[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the proper way to rename scripts?



2011/11/2 Paul Elliott <pelliott@blackpatchpanel.com>:
> I have put in a patch to change all references to this script. This includes
> references in the build procedure. Therefore, the renaming must take place
> before any part of the build procedure runs. Just like it always had the new
> name. What is the canonical way to do this? Thank You.

Whenever I've encountered this situation I just change all references
after the build procedure, invoking "sed" from debian/rules (I find
this much cleaner than using patches, since it doesn't require any
changes if the files change, etc., you just have to be cautious that
the clean rule reverts the changes correctly).

-- 
Siegfried-Angel Gevatter Pujals (RainCT)
Free Software Developer


Reply to: