[Home]

Summary:ASTERISK-09214: [patch] DESTDIR should not be part of path names
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2007-04-06 09:04:57Date Closed:2007-04-10 17:31:27
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) destdir.diff
Description:It is cumbersome to override directives at run-time if one wants to use DESTDIR.

For instance,

 make DESTDIR=$PWD/tmp DATADIR=/usr/share/asterisk

will not work as expected. You actually need:

 make DESTDIR=$PWD/tmp DATADIR='$(DESTDIR)/usr/share/asterisk'

The patch moves the DESTDIR out of the specific variables names.

Comments:By: Jason Parker (jparker) 2007-04-09 11:01:18

Pari, this patch looks good to commit.

By: Brandon Kruse (bkruse) 2007-04-10 17:06:24

House Keeping!

this appears to be fixed, and in trunk.

Can we close/resolve this issue?

fixed!

By: Pari Nannapaneni (pari) 2007-04-10 17:31:27

Already fixed in some previous commits