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

Re: Renaming installed files



Tony Houghton <h@realh.co.uk> writes:
> Josue Abarca <jmaslibre@debian.org.gt> wrote:

>> I use 
>> debian/rules:
>> ...
>>   # Do not use language-specific extension (policy).
>>   mv $(CURDIR)/debian/siege/usr/bin/siege2csv.pl $(CURDIR)/debian/siege/usr/bin/siege2csv
>> ...

> TBH I had seen $(CURDIR) used like this before, and even used it myself,
> but I wasn't sure whether it was officially supported/approved of etc.

You can use it but it's sort of pointless.  Unless you're embedding cd in
the command, it's equivalent to just debian/siege/usr/bin/siege2csv.pl and
so forth.  It's only really useful if you need to make the path absolute
for some reason, normally because you're changing the working directory or
doing something else complicated in the command.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: